Browse Source

🎨 Auto format

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

2
fastapi/_compat/v2.py

@ -42,7 +42,7 @@ Undefined = PydanticUndefined
# eval_type_lenient has been deprecated since Pydantic v2.10.0b1 (PR #10530) # eval_type_lenient has been deprecated since Pydantic v2.10.0b1 (PR #10530)
evaluate_forwardref = getattr(_pydantic_typing_extra, "try_eval_type", None) evaluate_forwardref = getattr(_pydantic_typing_extra, "try_eval_type", None)
if evaluate_forwardref is None: if evaluate_forwardref is None:
evaluate_forwardref = getattr(_pydantic_typing_extra, "eval_type_lenient") evaluate_forwardref = _pydantic_typing_extra.eval_type_lenient
class GenerateJsonSchema(_GenerateJsonSchema): class GenerateJsonSchema(_GenerateJsonSchema):

Loading…
Cancel
Save