mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-14 18:54:28 +00:00
codespell got me again!
This commit is contained in:
parent
58affeb5db
commit
dfb2f3701b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ BASEMODEL_CAST_WITH_VALUE = """
|
||||||
@field_validator("*", mode="wrap")
|
@field_validator("*", mode="wrap")
|
||||||
@classmethod
|
@classmethod
|
||||||
def cast_with_value(cls, v: Any, handler, info) -> Any:
|
def cast_with_value(cls, v: Any, handler, info) -> Any:
|
||||||
\"\"\"Try to rescue instantiation by casting into the model's value fiel\"\"\"
|
\"\"\"Try to rescue instantiation by casting into the model's value field\"\"\"
|
||||||
try:
|
try:
|
||||||
return handler(v)
|
return handler(v)
|
||||||
except Exception as e1:
|
except Exception as e1:
|
||||||
|
|
Loading…
Reference in a new issue