sdk.algorithm_config.deactivate()

elements.sdk.api.algorithm_config

Deactivate an algorithm config.

Deactivate the specific configuration of an algorithm_version. Deactivated algorithm_configs will no longer show up in searches, but metadata can still be retrieved for deactivated algorithm_configs via the get endpoint. Deactivated algorithm_configs cannot be used in any new algorithm_computations, but existing algorithm_computations will continue to function properly.

Parameters

  • algorithm_config_ids (List[str]) : list of algorithm configs to deactivate

Returns

None

Example(s)

# Deactivate an algorithm config
await sdk.algorithm_config.deactivate(algorithm_config_ids=["a551c228-f285-42d4-899c-aefa2fa1e52d"])