Browse Source

fix lint error

Signed-off-by: merlinz01 <[email protected]>
pull/12135/head
merlinz01 7 months ago
parent
commit
84b6d8ed25
  1. 2
      fastapi/dependencies/utils.py

2
fastapi/dependencies/utils.py

@ -687,7 +687,7 @@ if PYDANTIC_V2:
else:
def _allows_none(field: ModelField) -> bool:
return field.allow_none
return field.allow_none # type: ignore
def _validate_value_with_model_field(

Loading…
Cancel
Save