mirror of https://github.com/tiangolo/fastapi.git
add no cover for now
This commit is contained in:
parent
8e5d327aca
commit
2d2fe3ebf3
|
|
@ -45,7 +45,7 @@ def define_forwardref() -> Callable[..., Any]:
|
|||
try_eval_type = getattr(_pydantic_typing_extra, "try_eval_type", None)
|
||||
if try_eval_type is not None:
|
||||
return lambda *args: try_eval_type(*args)[0]
|
||||
return _pydantic_typing_extra.eval_type_lenient
|
||||
return _pydantic_typing_extra.eval_type_lenient # pragma: no cover
|
||||
|
||||
|
||||
evaluate_forwardref = define_forwardref()
|
||||
|
|
|
|||
Loading…
Reference in New Issue