rstudio / vetiver-python

Version, share, deploy, and monitor models.
https://rstudio.github.io/vetiver-python/stable/
MIT License
59 stars 17 forks source link

top level __all__ = [] prevents star imports #181

Closed machow closed 1 year ago

machow commented 1 year ago

Currently, vetiver has this line in its top level __init__.py:

__all__ = []

This means that if someone uses a star import, nothing will be imported:

# nothing gets imported
from vetiver import *

I wonder if we should change the __all__ to either specify all top-level imported functions and classes, or remove __all__?