Loading...

verticapy.mlops.model_versioning.RegisteredModel.change_status#

RegisteredModel.change_status(version: int, new_status: Literal['under_review', 'staging', 'production', 'archived', 'declined', 'unregistered']) None#

Changes the status of a model. Only a user with SUPERUSER or MLSUPERVISOR privilege can successfully run this function.

Parameters#

version: int

The version of the model which its status should be changed.

new_status: str

The desired new status for the model.

Returns#

None