Skip to content

Commit 16a735d

Browse files
authored
Remove org as a requirement. (#577)
This is not needed for most users Signed-off-by: Ketan Umare <kumare3@users.noreply.github.com> Co-authored-by: Ketan Umare <kumare3@users.noreply.github.com>
1 parent b3f3daa commit 16a735d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/flyte/cli/_run.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,6 @@ def _validate_required_params(self, ctx: click.Context) -> None:
205205
task_cfg = getattr(getattr(ctx.obj, "config", None), "task", None)
206206

207207
if not self.run_args.local:
208-
if not getattr(ctx.obj, "org", None) and not getattr(task_cfg, "org", None):
209-
missing_options.append(("org", "TEXT"))
210-
211208
if not self.run_args.project and not getattr(task_cfg, "project", None):
212209
missing_options.append(("project", "TEXT"))
213210

@@ -382,9 +379,6 @@ def _validate_required_params(self, ctx: click.Context) -> None:
382379

383380
task_cfg = getattr(getattr(ctx.obj, "config", None), "task", None)
384381

385-
if not getattr(ctx.obj, "org", None) and not getattr(task_cfg, "org", None):
386-
missing_options.append(("org", "TEXT"))
387-
388382
if not self.run_args.run_project and not getattr(task_cfg, "project", None):
389383
missing_options.append(("run-project", "TEXT"))
390384

0 commit comments

Comments
 (0)