--------------------------------------------------- lines 6-67 of file: at_cascade/fit_or_root_class.py --------------------------------------------------- {xrst_begin fit_or_root_class} Get Tables Corresponding to a Fit Node ###################################### fit_or_root_class ***************** {xrst_code py} fit_or_root = fit_or_root_class(fit_database, root_database) {xrst_code} fit_database ============ This ``str`` is the name of a :ref:`glossary@fit_database` . root_database ============= This ``str`` is the name of a :ref:`glossary@root_database` . get_table ********* {xrst_code py} table = fit_or_root.get_table(table_name) {xrst_code} table_name ========== This ``str`` the name of the table that we are getting. table ===== This is a ``list`` of ``dict`` representation of the table. If *table_name* is a :ref:`constant table ` , *table* is retrieved from the root node database. Otherwise it is retrieved from the fit node database. null_row ******** {xrst_code py} row = fit_or_root.null_row(table_name) {xrst_code} table_name ========== This ``str`` the name of the table that we getting a null row for. row === is a ``dict`` with one key for every column in the table specified by *table_name* and all the values equal to ``None`` . close ***** {xrst_code py} fit_or_root.close() {xrst_code} This closes the database connection held by a fit_or_root. The ``get_table`` function will no longer be available. {xrst_end fit_or_root_class}