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
I suspect #3633 broke type checkers' ability to inspect the signature of start_as_current_span.
Describe your environment
python 3.11 opentelemetry-exporter-otlp-proto-http==1.24.0 pyright==1.1.331
Steps to reproduce
run pyright on code using tracer.start_as_current_span(name) or tracer.start_as_current_span(name=name)
What is the expected behavior?
nothing :)
What is the actual behavior? error: No parameter named "name" (reportGeneralTypeIssues)
or error: Expected 0 positional arguments (reportGeneralTypeIssues)