Skip to content

Commit

Permalink
Merge branch 'master' into mlops-129
Browse files Browse the repository at this point in the history
  • Loading branch information
JacekHebda authored Aug 24, 2022
2 parents a98bf2b + 1ec6f65 commit 5ea6c3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/wanna/core/deployment/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class JobResource(GCPResource, Generic[JOB]):
job_payload: Dict[str, Any]
image_refs: List[str] = []
tensorboard: Optional[str]
network: str
network: Optional[str]
job_config: JOB
encryption_spec_key_name: Optional[str]

Expand Down
2 changes: 1 addition & 1 deletion src/wanna/core/models/gcp_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GCPProfileModel(BaseModel, extra=Extra.forbid):
labels: Optional[Dict[str, str]]
bucket: str
service_account: Optional[str]
network: str = "default"
network: Optional[str]
subnet: Optional[str]
kms_key: Optional[str]
docker_repository: str = "wanna"
Expand Down
2 changes: 1 addition & 1 deletion src/wanna/core/services/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _get_resource_network(
project_id: str,
push_mode: PushMode,
resource_network: Optional[str],
fallback_project_network: str,
fallback_project_network: Optional[str],
use_project_number: bool = True,
):
resource_network = resource_network if resource_network else fallback_project_network
Expand Down

0 comments on commit 5ea6c3c

Please sign in to comment.