Skip to content

Commit 37d2ed2

Browse files
committed
fix: allowedCudaVersions is treated as float without the quotes
1 parent e58d519 commit 37d2ed2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runpod/api/mutations/endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def generate_endpoint_mutation(
4747
input_fields.append(f"workersMax: {workers_max}")
4848

4949
if allowed_cuda_versions:
50-
input_fields.append(f"allowedCudaVersions: {allowed_cuda_versions}")
50+
input_fields.append(f'allowedCudaVersions: "{allowed_cuda_versions}"')
5151

5252
if gpu_count is not None:
5353
input_fields.append(f"gpuCount: {gpu_count}")

0 commit comments

Comments
 (0)