Open Dreamsorcerer opened 3 years ago
With code which references zeep.Settings or zeep.AsyncClient (for example), mypy produces this error:
zeep.Settings
zeep.AsyncClient
: error: Module has no attribute "Settings" [attr-defined]
It works fine if using the full name (e.g. zeep.settings.Settings).
zeep.settings.Settings
Not sure what is confusing it.
Maybe using the explicit reexport approach would solve it (in __init__.py):
__init__.py
from zeep.client import AsyncClient as AsyncClient
With code which references
zeep.Settings
orzeep.AsyncClient
(for example), mypy produces this error:It works fine if using the full name (e.g.
zeep.settings.Settings
).Not sure what is confusing it.