Browse Source

ty ignore

pull/15091/head
svlandeg 4 months ago
parent
commit
8652de6973
  1. 2
      fastapi/_compat/v2.py

2
fastapi/_compat/v2.py

@ -148,7 +148,7 @@ class ModelField:
Field(**field_dict["attributes"]), Field(**field_dict["attributes"]),
) )
self._type_adapter: TypeAdapter[Any] = TypeAdapter( self._type_adapter: TypeAdapter[Any] = TypeAdapter(
Annotated[annotated_args], Annotated[annotated_args], # ty: ignore[invalid-type-form]
config=self.config, config=self.config,
) )

Loading…
Cancel
Save