This repository was archived by the owner on Dec 31, 2023. It is now read-only.

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-cloud-compute==0.8.0
1+
google-cloud-compute==0.9.0
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def start_instance(project_id: str, zone: str, instance_name: str):
4343
instance_client = compute_v1.InstancesClient()
4444
op_client = compute_v1.ZoneOperationsClient()
4545

46-
op = instance_client.start_unary(project=project_id, zone=zone, instance=instance_name)
46+
op = instance_client.start_unary(
47+
project=project_id, zone=zone, instance=instance_name
48+
)
4749

4850
while op.status != compute_v1.Operation.Status.DONE:
4951
op = op_client.wait(operation=op.name, zone=zone, project=project_id)

0 commit comments

Comments
 (0)