Skip to main content

mb.delete_models(models)

Removes one or more models from the registry.

Parameters

  • models: Union[str, List[str]] The names of the models to remove from the registry.

Returns

No value is returned. A success status message is printed if the command is successful.

Examples

Delete the "example_model" model

mb.delete_models("example_model")

Delete multiple models

mb.delete_models(["example_model", "other_model"])

Delete all models in the "finance" directory

mb.delete_models(mb.models("finance/"))

See also