Skip to content

Commit 398ec76

Browse files
author
Ruslan Gainutdinov
committed
fix: formatting
1 parent cecadfd commit 398ec76

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

examples/clusters_example.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def create_cluster_example():
3131

3232
cluster_type = '16B200'
3333
cluster_image = 'ubuntu-24.04-cuda-13.0-cluster'
34-
location_code=Locations.FIN_03
34+
location_code = Locations.FIN_03
3535

3636
# Check if cluster type is available
3737
if not verda.clusters.is_available(cluster_type, location_code):
@@ -108,7 +108,9 @@ def get_cluster_by_id_example(cluster_id: str):
108108
print(f' - {node.hostname} ({node.id}): {node.status}, private IP: {node.private_ip}')
109109
print(f' Shared volumes: {len(cluster.shared_volumes)}')
110110
for volume in cluster.shared_volumes:
111-
print(f' - {volume.name} ({volume.id}): {volume.size_in_gigabytes} GB, mounted at {volume.mount_point}')
111+
print(
112+
f' - {volume.name} ({volume.id}): {volume.size_in_gigabytes} GB, mounted at {volume.mount_point}'
113+
)
112114
return cluster
113115

114116

0 commit comments

Comments
 (0)