apify-client-python icon indicating copy to clipboard operation
apify-client-python copied to clipboard

Remove `__all__` from all `__init__.py`

Open vdusek opened this issue 1 year ago • 1 comments

Utilizing star imports, such as from apify_client import *, is generally considered as a bad practice in Python. This is because it can lead to namespace conflicts. While there may be specific scenarios where star imports could be useful, I don't see the case in the context of our packages.

I suggest removing them from our codebase so that we don't incentivize users to adopt this practice. Also, we won't have to maintain these lists anymore.

vdusek avatar Nov 20 '23 10:11 vdusek