From 5f371ca5a56db5f305ed89cfce0a686ca3322c6c Mon Sep 17 00:00:00 2001 From: BartoszCki Date: Wed, 12 Feb 2020 14:13:41 +0100 Subject: [PATCH] Make --workspace optional again for VPC experiments --- gradient/commands/experiments.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gradient/commands/experiments.py b/gradient/commands/experiments.py index 724ef10f..8c2f18a3 100644 --- a/gradient/commands/experiments.py +++ b/gradient/commands/experiments.py @@ -108,9 +108,6 @@ def get_instance_url(self, instance_id, project_id): def _handle_workspace(self, instance_dict): handler = self.workspace_handler.handle(instance_dict) - if (instance_dict.get("cluster_id") or instance_dict.get("use_vpc")) and handler.lower() == "none": - raise click.UsageError('Missing option "--workspace" is required for VPC experiments') - instance_dict.pop("ignore_files", None) instance_dict.pop("workspace", None) instance_dict.pop("workspace_archive", None)