Skip to content

Commit a9e3e60

Browse files
committed
clean cluster example
1 parent b6c08c8 commit a9e3e60

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

examples/clusters_example.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,21 +117,17 @@ def main():
117117
"""Run all cluster examples."""
118118
print('=== Clusters API Example ===\n')
119119

120-
# Create a new cluster
121-
print('1. Creating a new cluster...')
120+
print('Creating a new cluster...')
122121
cluster = create_cluster_example()
123122
cluster_id = cluster.id
124123

125-
# List all clusters
126-
print('\n2. Listing all clusters...')
124+
print('\nListing all clusters...')
127125
list_clusters_example()
128126

129-
# Get cluster by ID
130-
print('\n3. Getting cluster details...')
127+
print('\nGetting cluster details...')
131128
get_cluster_by_id_example(cluster_id)
132129

133-
# Delete the cluster
134-
print('\n6. Deleting the cluster...')
130+
print('\nDeleting the cluster...')
135131
delete_cluster_example(cluster_id)
136132

137133
print('\n=== Example completed successfully ===')

0 commit comments

Comments
 (0)