def ClusterClient.update( cluster_or_slug: Cluster | str, name: str | None = None, description: str | None = None,) -> ClusterUpdate a cluster.
Parameters
Section titled “Parameters”cluster_or_slug Cluster | str The cluster or cluster slug to update.
name str | None Optional new display name for the cluster. If omitted, the display name is unchanged.
description str | None Optional new cluster description. Pass an empty string to clear the description. If omitted, the description is unchanged.
Returns
Section titled “Returns”The updated cluster object, including its slug, display name, description, whether it can be deleted, and deployed workflows.