Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow running multiple namespaces in a session #4553

Closed
ankatiyar opened this issue Mar 10, 2025 · 0 comments
Closed

Allow running multiple namespaces in a session #4553

ankatiyar opened this issue Mar 10, 2025 · 0 comments
Assignees
Labels
Issue: Feature Request New feature or improvement to existing feature
Milestone

Comments

@ankatiyar
Copy link
Contributor

Description

Follow up from #4507 and part of #4506

Context

Noted by multiple team members in #4507 as desired behaviour.
#4507 (comment) @merelcht
#4507 (comment) @Huongg
#4507 (comment) @ElenaKhaustova

Allow users to run multiple namespaces

Possible Implementation

Make --namespace behave like --nodes

@click.option(
"--nodes",
"-n",
"node_names",
type=str,
default="",
help=NODE_ARG_HELP,
callback=split_node_names,
)

NOTE:

  • This would be breaking since we would likely have to rename --namespace to --namespaces which might be not a big deal since Kedro 1.0.0 is in the works (see Investigate CLI inconsistencies  #2014 where we pluralised flags that accepted multiple values)

Possible Alternatives

Use click's multiple option: https://click.palletsprojects.com/en/stable/options/#multiple-options, which would allow us to do kedro run --namespace=namespace1 --namespace=namespace2

@ankatiyar ankatiyar added the Issue: Feature Request New feature or improvement to existing feature label Mar 10, 2025
@rashidakanchwala rashidakanchwala added this to the Deployment milestone Mar 17, 2025
@Huongg Huongg self-assigned this Mar 20, 2025
@merelcht merelcht moved this to To Do in Kedro 🔶 Mar 21, 2025
@Huongg Huongg moved this from To Do to In Progress in Kedro 🔶 Mar 25, 2025
@Huongg Huongg moved this from In Progress to In Review in Kedro 🔶 Apr 4, 2025
@Huongg Huongg moved this from In Review to Done in Kedro 🔶 Apr 10, 2025
@Huongg Huongg closed this as completed by moving to Done in Kedro 🔶 Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Feature Request New feature or improvement to existing feature
Projects
Status: Done
Development

No branches or pull requests

3 participants