Skip to main content
def ClusterClient.find(cluster_or_slug: Cluster | str): Cluster
Get a cluster by its slug.

Parameters

cluster_or_slug
Cluster | str
The cluster or cluster slug to get.

Returns

A cluster object.
cluster = cluster_client.find("my-cluster-CvufcSxcC9SKfe")