mirror of https://github.com/tiangolo/fastapi.git
🎨 Auto format
This commit is contained in:
parent
e00b071435
commit
db7f2e4b19
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue