databricks-cli/bundle/python
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
..
conditional_transform_test.go Make a notebook wrapper for Python wheel tasks optional (#797) 2023-09-26 14:32:20 +00:00
transform.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
transform_test.go Rename variable `bundle -> b` (#989) 2023-11-15 14:03:36 +00:00
warning.go Fix wheel task not working with with 13.x clusters (#898) 2023-10-23 08:19:26 +00:00
warning_test.go Fix wheel task not working with with 13.x clusters (#898) 2023-10-23 08:19:26 +00:00