databricks-cli/internal/bundle
Andrew Nester 83d50001fc
Pass parameters to task when run with `--python-params` and `python_wheel_wrapper` is true (#1037)
## Changes
It makes the behaviour consistent with or without `python_wheel_wrapper`
on when job is run with `--python-params` flag.

In `python_wheel_wrapper` mode it converts dynamic `python_params` in a
dynamic specially named `notebook_param` and the wrapper reads them with
`dbutils` and pass to `sys.argv`

Fixes #1000

## Tests
Added an integration test.

Integration tests pass.
2023-12-01 10:35:20 +00:00
..
bundles Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
artifacts_test.go Do not add wheel content hash in uploaded Python wheel path (#1015) 2023-11-29 10:40:12 +00:00
deploy_then_remove_resources_test.go Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00
empty_bundle_test.go Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00
helpers.go Pass parameters to task when run with `--python-params` and `python_wheel_wrapper` is true (#1037) 2023-12-01 10:35:20 +00:00
job_metadata_test.go Make `file_path` and `artifact_path` fields consistent with json tag (#987) 2023-11-15 13:37:26 +00:00
local_state_staleness_test.go Correctly overwrite local state if remote state is newer (#1008) 2023-11-24 11:15:46 +00:00
python_wheel_test.go Pass parameters to task when run with `--python-params` and `python_wheel_wrapper` is true (#1037) 2023-12-01 10:35:20 +00:00