mirror of https://github.com/tiangolo/fastapi.git
🎨 Auto format
This commit is contained in:
parent
b69a4cb01c
commit
f23c4b80b3
|
|
@ -571,7 +571,6 @@ def get_flat_models_from_fields(
|
|||
return known_models
|
||||
|
||||
|
||||
|
||||
if shared.PYDANTIC_VERSION_MINOR_TUPLE >= (2, 6):
|
||||
# Omit by default for scalar mapping and scalar sequence mapping annotations
|
||||
# added in Pydantic v2.6 https://github.com/pydantic/pydantic/releases/tag/v2.6.0
|
||||
|
|
@ -598,7 +597,7 @@ if shared.PYDANTIC_VERSION_MINOR_TUPLE >= (2, 6):
|
|||
)
|
||||
return new_field_info, {}
|
||||
|
||||
else: # pragma: no cover
|
||||
else: # pragma: no cover
|
||||
|
||||
def ignore_invalid(v: Any, handler: Callable[[Any], Any]) -> Any:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue