Skip to content

Commit 1e53597

Browse files
authored
keyword-only args, optional description, order to match instances.create
1 parent f57532b commit 1e53597

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

verda/clusters/_clusters.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,16 @@ def get_by_id(self, id: str) -> Cluster:
111111

112112
def create(
113113
self,
114-
hostname: str,
115114
cluster_type: str,
116115
image: str,
117-
description: str,
116+
hostname: str,
117+
*,
118+
description: str = '',
118119
ssh_key_ids: list = [],
119120
location: str = Locations.FIN_03,
120121
startup_script_id: str | None = None,
121122
shared_volume_name: str | None = None,
122123
shared_volume_size: int | None = None,
123-
*,
124124
wait_for_status: str | None = ClusterStatus.PROVISIONING,
125125
max_wait_time: float = 900,
126126
initial_interval: float = 1.0,

0 commit comments

Comments
 (0)