Skip to content

Commit e73d288

Browse files
author
Kevin Kabore
authored
fix(deployments): Make instance count not required PS-14732 (#316)
* fix(deployments): Make instance count not required * Update version.py
1 parent ab740ff commit e73d288

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

gradient/api_sdk/clients/deployment_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def create(
3232
name,
3333
machine_type,
3434
image_url,
35-
instance_count,
35+
instance_count=None,
3636
model_id=None,
3737
container_model_path=None,
3838
image_username=None,

gradient/cli/deployments.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def deployments_metrics():
132132
"--instanceCount",
133133
"instance_count",
134134
type=int,
135-
required=True,
136135
help="Number of machine instances",
137136
cls=common.GradientOption,
138137
)

gradient/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.9.1a3"
1+
version = "0.9.1a4"

0 commit comments

Comments
 (0)