@Sharukh Kundagol Apologies for the inconvenience caused due to the incorrect answer provided above.
As per the repro, I had found that there is no command called dbutils.widgets.list()
in dbutils.widgets module.
Here is the command to log all the widgets used in a notebook:
# Log all the widgets used in the notebook
my_widgets = dbutils.notebook.entry_point.getCurrentBindings()
{key: my_widgets[key] for key in my_widgets}
You can add this code to each notebook to log all the widgets used in that notebook.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.