You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(parser): only infer type hints when necessary (#4183)
fix(parser): only infer type hints when necessary
This was breaking in codebases that conditionally import type hints using the `typing.TYPE_CHECKING` constant as described in [PEP 563](https://peps.python.org/pep-0563/#runtime-annotation-resolution-and-type-checking).
When the model is provided, there is no need to infer anything.
Signed-off-by: Raymond Butcher <raymond.butcher@epsyhealth.com>
0 commit comments