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
Observe that mypy does not trigger on register_connection, but does trigger on get_connection:
[snip ...]/mongo-types-mypy_issue.py:10: error: Module has no attribute "get_connection" [attr-defined]
Found 1 error in 1 file (checked 1 source file)
Expected Behavior: Since __all__ exported by the connection.py module includes get_connection that there would be a stub for it.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
register_connection
, but does trigger onget_connection
:Expected Behavior: Since
__all__
exported by theconnection.py
module includesget_connection
that there would be a stub for it.The text was updated successfully, but these errors were encountered: