According to this post, __init__.py should only import classes, functions etc. from submodules within the package. Such classes and functions should not be declared within __init__.py itself. Rather, they should be in a separate .py file within the package.
According to this post, __init__.py should only import classes, functions etc. from submodules within the package. Such classes and functions should not be declared within __init__.py itself. Rather, they should be in a separate .py file within the package.