Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalik committed Sep 26, 2023
1 parent 7139f5f commit 8263a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ninja/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class Config:
@classmethod
def _run_root_validator(
cls, values: Any, handler: ModelWrapValidatorHandler[S], info: ValidationInfo
) -> S:
) -> Any:
# when extra is "forbid" we need to perform default pydantic valudation
# as DjangoGetter does not act as dict and pydantic will not be able to validate it
if cls.model_config.get("extra") == "forbid":
Expand Down

0 comments on commit 8263a13

Please sign in to comment.