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
Many of the files in WebOb declare __all__ for exports. This can create problems with the current generation of type checkers, as they may not be able to see functions that do not appear in these declarations. For example, in webob.cookies, parse_cookie is not declared.
The __all__ declarations are only used for * imports - which are increasingly unused in exchange for explicit imports.
I would be happy to generate a PR for either situation, however I would prefer dropping __all__.
The text was updated successfully, but these errors were encountered:
Many of the files in WebOb declare
__all__
for exports. This can create problems with the current generation of type checkers, as they may not be able to see functions that do not appear in these declarations. For example, inwebob.cookies
,parse_cookie
is not declared.The
__all__
declarations are only used for * imports - which are increasingly unused in exchange for explicit imports.I would be happy to generate a PR for either situation, however I would prefer dropping
__all__
.The text was updated successfully, but these errors were encountered: