Skip to content

Replace top-level star imports with explicit imports #144

@machow

Description

@machow

It looks like vetiver is doing star imports in vetiver/__init__.py for a couple modules, e.g.

from .protoype import *

This is causing things that were defined / imported in modules like prototype to get imported at the top level. For example, because prototype uses from warnings import warn, this ends up on vetiver:

import vetiver
vetiver.warn

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