Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
add default Nones to optional props
Browse files Browse the repository at this point in the history
  • Loading branch information
parkedwards committed Sep 22, 2023
1 parent e231cda commit 0c5e648
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prefect_gcp/workers/vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ class VertexAIWorkerVariables(BaseVariables):
"See https://cloud.google.com/vertex-ai/docs/reference/rest/v1/MachineSpec"
),
example="NVIDIA_TESLA_K80",
default=None,
)
accelerator_count: Optional[int] = Field(
title="Accelerator Count",
Expand All @@ -122,6 +123,7 @@ class VertexAIWorkerVariables(BaseVariables):
"See https://cloud.google.com/vertex-ai/docs/reference/rest/v1/MachineSpec"
),
example=1,
default=None,
)
boot_disk_type: str = Field(
title="Boot Disk Type",
Expand Down

0 comments on commit 0c5e648

Please sign in to comment.