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

feat: add var argument to kedro databricks deploy cli #77

Closed
wants to merge 1 commit into from

Conversation

theoclipse
Copy link

No description provided.

@theoclipse theoclipse force-pushed the feat/add-var-argument branch 4 times, most recently from 05bbe06 to 5ac80f5 Compare November 22, 2024 14:46
@@ -117,6 +117,7 @@ def bundle(
@click.option("-c", "--conf", default=DEFAULT_CONF_FOLDER, help=CONF_HELP)
@click.option("-d", "--debug/--no-debug", default=False, help="Enable debug mode")
@click.option("-p", "--pipeline", default=None, help="Bundle a single pipeline")
@click.option("-v", "--var", default=None, help="set values for variables defined in bundle config. Example: --var=\"foo=bar\"")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So Databricks allows you to pass this multiple times.... should we do the same?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question, did not see it was possible.

I would say we should do as they do since we are trying to replicate what is doing databricks cli. What do you think?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should 😊 this was such a minor addition I actually implemented it yesterday when I was doing some or refactoring. See PR #80.

It just needs tests before it can be merged

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw the MR, it s perfect, thank you for that!

@theoclipse theoclipse force-pushed the feat/add-var-argument branch from 5ac80f5 to 85a6361 Compare November 25, 2024 08:17
Copy link

codeclimate bot commented Nov 25, 2024

Code Climate has analyzed commit 85a6361 and detected 0 issues on this pull request.

View more on Code Climate.

@JenspederM JenspederM closed this Nov 30, 2024
@JenspederM
Copy link
Owner

Implemented in release 0.6.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants