get_parent_node

View page source

Get Parent Node Name From Option Table

Prototype

# at_cascade.get_parent_node
def get_parent_node(database = None) :
    assert type(database) == str
    # ..
    assert type(parent_node_name) == str
    return parent_node_name

database

This is a dismod_at database.

parent_node_name

is the database option table option_value for the row where option_name is parent_node_name. An assert will be generated if no such option_name is found in the option table.