Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:57 AM
The only working workaround I found has been provided in another thread
Re: Retrieve job-level parameters in Python - Databricks Community - 44720
I will repost it here (thanks @julio_resende )
You need to push down your parameters to a task level. Eg:
- Create a job level parameter called "my_param"
- Make a reference to his job parameter in the task level parameters box. Eg:["--my_param","{{job.parameters.my_param}}"]
- Read the task level parameter using argparser in your .py file