tdnb.get_all() - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

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}
tdnb utility - tdnb.get_all() function example output