How I could read the Job id, run id and parameters in python cell?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 09:29 AM
I have tried following ways to get job parameters but none of the things are working.
runId='{{run_id}}'
jobId='{{job_id}}'
filepath='{{filepath}}'
print(runId," ",jobId," ",filepath)
r1=dbutils.widgets.get('{{run_id}}')
f1=dbutils.widgets.get('{{filepath}}')
print(r1,f1)any suggestions to get those parameters is really helpful
Labels:
- Labels:
-
Job
-
Job Parameters
-
Notebook Task
-
Task