assert evaluate_forwardref is not None

This commit is contained in:
svlandeg 2026-03-12 22:17:00 +01:00
parent 94bd71371e
commit a1abbce3a5
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ Undefined = PydanticUndefined
evaluate_forwardref = getattr(_pydantic_typing_extra, "try_eval_type", None)
if evaluate_forwardref is None:
evaluate_forwardref = _pydantic_typing_extra.eval_type_lenient
assert evaluate_forwardref is not None
class GenerateJsonSchema(_GenerateJsonSchema):