mirror of https://github.com/databricks/cli.git
Add `import` option for PyDABs (#1693)
## Changes Add 'import' option for PyDABs ## Tests Manually
This commit is contained in:
parent
beced9f1b5
commit
ab4e8099fb
|
@ -39,6 +39,12 @@ type PyDABs struct {
|
||||||
// Required if PyDABs is enabled. PyDABs will load the code in the specified
|
// Required if PyDABs is enabled. PyDABs will load the code in the specified
|
||||||
// environment.
|
// environment.
|
||||||
VEnvPath string `json:"venv_path,omitempty"`
|
VEnvPath string `json:"venv_path,omitempty"`
|
||||||
|
|
||||||
|
// Import contains a list Python packages with PyDABs code.
|
||||||
|
//
|
||||||
|
// These packages are imported to discover resources, resource generators, and mutators.
|
||||||
|
// This list can include namespace packages, which causes the import of nested packages.
|
||||||
|
Import []string `json:"import,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Command string
|
type Command string
|
||||||
|
|
Loading…
Reference in New Issue