def load_model_from_package ( name , * * overrides ) : cls = importlib . import_module ( name ) return cls . load ( * * overrides )
alembic python model file
Load a model from an installed package .
def load_model_from_package(name, **overrides):
    """Load a model from an installed package."""
    cls = importlib.import_module(name)
    return cls.load(**overrides)