Skip to content

top level __all__ = [] prevents star imports #181

@machow

Description

@machow

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__?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions