JenspederM / kedro-databricks

A Databricks Plugin for Kedro
MIT License
13 stars 5 forks source link

How to use the `--overwrite` argument properly with `kedro databricks bundle`? #68

Closed noklam closed 3 weeks ago

noklam commented 4 weeks ago

image

I was confused what argument to provide and have to look up source code: https://github.com/JenspederM/kedro-databricks/blob/b71a47706a009bd5c51b8a7c69c765c6e1da8e69/src/kedro_databricks/plugin.py#L127-L129

So the correct way to do this is kedro databricks bundle --overwrite True? If so could it be changed to a simpler logic with is_flag since it's a boolean option? i.e. default = True, and --overwrite means it's true.

https://click.palletsprojects.com/en/stable/options/#basic-value-options