mario.model_setup
- mario.model_setup(model: str, *, workspace: str | Path | None = None, **options)#
Open a workspace for an installed model.
- Parameters:
model (str) – Name registered by a model package in the mario.models entry point group.
workspace (str or pathlib.Path, optional) – Project directory. Defaults to a directory named after the model.
**options – Keyword arguments passed to the model’s workspace factory.
- Returns:
The model’s project object. Its workflow and inputs are defined by the installed model release.
- Return type:
object