pre-commit-ci-lite[bot]
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
3 deletions
-
fastapi/dependencies/utils.py
|
|
@ -254,9 +254,7 @@ class _LenientDict(dict): |
|
|
return Any |
|
|
return Any |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _try_resolve_annotated( |
|
|
def _try_resolve_annotated(annotation_str: str, globalns: dict[str, Any]) -> Any | None: |
|
|
annotation_str: str, globalns: dict[str, Any] |
|
|
|
|
|
) -> Any | None: |
|
|
|
|
|
"""Resolve an ``Annotated`` string annotation, tolerating missing names. |
|
|
"""Resolve an ``Annotated`` string annotation, tolerating missing names. |
|
|
|
|
|
|
|
|
Returns the evaluated ``Annotated`` type when the metadata contains a |
|
|
Returns the evaluated ``Annotated`` type when the metadata contains a |
|
|
|