We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What Model are you using?
Describe the bug The type: ignore[all] comment at the top of retry.py teaches mypy that retry has no attributes at all.
type: ignore[all]
To Reproduce When I write a python module with:
from instructor.retry import InstructorRetryException
and type check it with mypy in an environment with instructor installed, mypy complains:
error: Module "instructor.retry" has no attribute "InstructorRetryException" [attr-defined]
Expected behavior Since instructor ships with a PEP 561 py.typed file, I expected type checking to be largely correct across the package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What Model are you using?
Describe the bug
The
type: ignore[all]
comment at the top of retry.py teaches mypy that retry has no attributes at all.To Reproduce
When I write a python module with:
and type check it with mypy in an environment with instructor installed, mypy complains:
Expected behavior
Since instructor ships with a PEP 561 py.typed file, I expected type checking to be largely correct across the package.
The text was updated successfully, but these errors were encountered: