Skip to content

Commit a27356b

Browse files
authored
Merge pull request #222 from Paperspace/PS-12720-Make_workspace_optional_for_v2
Make --workspace optional again for VPC experiments
2 parents ed83cf4 + 6aa7b6d commit a27356b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

gradient/commands/experiments.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ def get_instance_url(self, instance_id, project_id):
115115
def _handle_workspace(self, instance_dict):
116116
handler = self.workspace_handler.handle(instance_dict)
117117

118-
if instance_dict.get("cluster_id") and handler.lower() == "none":
119-
raise click.UsageError('Missing option "--workspace" is required for VPC experiments')
120-
121118
instance_dict.pop("ignore_files", None)
122119
instance_dict.pop("workspace", None)
123120
instance_dict.pop("workspace_archive", None)

0 commit comments

Comments
 (0)