Use the tdnb.get_all() function to get all the values of different widgets available in a current Jupyter session.
This utility gets all the values of widgets created in the current Jupyter session in a dictionary. Key in dictionary refers to the name of the widget and value refers to value of corresponding widget.
tdnb.get_all() does not accept parameters.
Example
Create a text widget and dropdown widget. Then retrieve both widget values using tdnb.get_all().
from teradatamlwidgets import tdnb
tdnb.text('text_widget', "Hello World!", 'Text Label'
tdnb.dropdown('dropdown_widget', 1, [10, 20, 30], 'dd_label'
tdnb.get_all()
{'text_widget': 'Hello World.', 'dropdown_widget': 1}