disable_keep_warm
Turns off Keep Warm settings for a deployment that is using Keep Warm. To change the Keep Warm settings for a deployment, use enable_keep_warm
Parameters
mb.disable_keep_warm(...)
deployment
:str
The name of the deployment to stop using Keep Warmversion
:int
The version of the deploymentbranch
:Optional[str]
The branch of the deployment. If unspecified, the current branch is used.
Returns
A message is printed saying that Keep Warm was disabled for the deployment.
Examples
Disable Keep Warm on a deployment
mb.disable_keep_warm(deployment="my_deployment", version=12)
You can also specify a branch:
mb.disable_keep_warm(deployment="my_deployment", version=12, branch="my_project")