Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2021 11:12 AM
Very possible. You just use dbutils.widgets.get().
For instance I set up a job with the following param:
{
"foo": "bar"
}The primary notebook:
the_arg = dbutils.widgets.get("foo")
print(the_arg)
nb1 = dbutils.notebook.run('./notebooks_sec_1', 0, {"foo" : the_arg})notebooks_sec_1:
the_arg = dbutils.widgets.get("foo")
print(the_arg)Then, when I ran it, both printed: "bar".