yesterday
i have come accross a documentation on asset bundles long back whcih states that when you type
databricks bundle init
it gives us option to choose a project type. But i see the below error when i do that i see the below error
is there a way, i can take inputs from from commandline from template.
yesterday
databricks bundle init default-python
More details
https://docs.databricks.com/en/dev-tools/bundles/templates.html#use-a-default-bundle-template
14 hours ago
@gchandra Thankyou for the response, but the default-python is not asking any input parameters. It is directly creating a sample my_project folder. I asked for a ay to customize inputs from user for choosing. Do you see a way to do this.
14 hours ago
Keeping Automation in mind, DAB helps you with custom Templates for customized Inputs.
https://docs.databricks.com/en/dev-tools/bundles/templates.html#define-user-prompt-variables
14 hours ago
@gchandra so does that mean there is no way that bundle support custom project name and project type when we do init
14 hours ago
you can use the --config-file parameter and pass all the values.
14 hours ago
Create a conf.json with the values
{"project_name":"gc","include_notebook":"no","include_dlt":"no","include_python":"yes"}
and call your DAB int this way
databricks bundle init default-python --config-file conf.json
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group