-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
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
Mypy error: Module "datadog" does not explicitly export attribute "statsd" [attr-defined] #842
Comments
Thanks for your contribution! This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community. If you would like this issue to remain open:
|
Your bot here is quite aggressive. A bit ridiculous to close tickets after 30d. 180d or such would make more sense. Yes, I believe the issue is still valid. |
I can confirm that the issue is still reproducible on |
If you want to avoid
|
The same happens with Pyright. As an alternative to the |
Mypy nags:
That's because
datadog.__init__
doesn't explicitly expose the module imported in its__all__ = []
. See https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport.mypy --strict
enables that check, so I assume others will bump into it, too.The text was updated successfully, but these errors were encountered: