Mypy with strict mode enabled gives the following error on version 7.2.2:
error: Module "minio" does not explicitly export attribute "Minio" [attr-defined]
The error is caused by rule --no-implicit-reexport. There are two ways how to fix it: either define __all__ in __init__.py or use import aliases so that other modules can import it. In this PR I added aliases for all imports in __init__.py.
Mypy with strict mode enabled gives the following error on version 7.2.2:
The error is caused by rule --no-implicit-reexport. There are two ways how to fix it: either define
__all__
in__init__.py
or use import aliases so that other modules can import it. In this PR I added aliases for all imports in__init__.py
.