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
OS: Void Linux Python version: Python 3.12 SDK version: 1.28.1 API version: 1.28.1
Pyright type checker complains about missing type stubs for
Stub file not found for "opentelemetry.instrumentation.asgi"
And
Stub file not found for "opentelemetry.instrumentation.sqlalchemy"
These are the two I checked presumably there could be more missing type stubs.
Just import
from opentelemetry.instrumentation.asgi import OpenTelemetryMiddleware from opentelemetry.instrumentation.sqlalchemy import SQLAlchemyInstrumentor
And run pyright in strict mode. Or use basedpyright that is strict by default.
No complaints from pyright about missing type stubs
complaints from pyright about missing type stubs
No response
None
The text was updated successfully, but these errors were encountered:
I think in most cases, we are simply missing type stubs for most of this repo. PRs are always welcome to improve typing!
Sorry, something went wrong.
Can I enforce with a type checker on the files I improve them?
Sure, we are already doing partial type checking in the core repo
No branches or pull requests
Describe your environment
OS: Void Linux
Python version: Python 3.12
SDK version: 1.28.1
API version: 1.28.1
What happened?
Pyright type checker complains about missing type stubs for
And
These are the two I checked presumably there could be more missing type stubs.
Steps to Reproduce
Just import
And run pyright in strict mode. Or use basedpyright that is strict by default.
Expected Result
No complaints from pyright about missing type stubs
Actual Result
complaints from pyright about missing type stubs
Additional context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: