Browse Source

🎨 Auto format

pull/9837/head
pre-commit-ci-lite[bot] 6 months ago
committed by GitHub
parent
commit
f23c4b80b3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      fastapi/_compat/v2.py

1
fastapi/_compat/v2.py

@ -571,7 +571,6 @@ def get_flat_models_from_fields(
return known_models return known_models
if shared.PYDANTIC_VERSION_MINOR_TUPLE >= (2, 6): if shared.PYDANTIC_VERSION_MINOR_TUPLE >= (2, 6):
# Omit by default for scalar mapping and scalar sequence mapping annotations # 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 # added in Pydantic v2.6 https://github.com/pydantic/pydantic/releases/tag/v2.6.0

Loading…
Cancel
Save