client.models.update_processing_engines(model, version, min_engines, max_engines, timeout = 0, poll_rate = 5)
Updates the minimum and maximum processing engines for a specific model identifier and version
A model identifier assigned by Modzy or a preloaded model object.
The model’s version number. It follows the semantic versioning format.
The minimum number of processing engines a model’s version can run. It is a positive integer or 0.
The maximum number of processing engines a model’s version can run. It is a positive integer or 0.
Time in seconds to wait until processing engine is spun up. 0 means return immediately, 'None' means block and wait forever. Defaults to 0, which means no wait.
If timeout is nonzero, this value will determine the rate at which the state of the cluster is checked. Defaults to 5.
>>>client.models.update_processing_engines('ed542963de', '0.0.27', 1, 1) >>>version = client.models.get_version('ed542963de', '0.0.27') >>>version.processing.minimum_parallel_capacity 1
Updated 3 months ago