yt.utilities.configuration_tree module

class yt.utilities.configuration_tree.ConfigLeaf(key, parent: ConfigNode, value, extra_data=None)[source]

Bases: object

get_tree()[source]
serialize()[source]
property value
class yt.utilities.configuration_tree.ConfigNode(key, parent=None)[source]

Bases: object

add(key, child)[source]
add_child(key)[source]
as_dict(callback=<function ConfigNode.<lambda>>)[source]
static from_dict(other, parent=None, **kwa)[source]
get(*keys)[source]
get_child(key, constructor=None)[source]
get_deepest_leaf(*keys, callback=<function ConfigNode.<lambda>>)[source]
get_from_list(key_list)[source]
get_leaf(*keys, callback=<function ConfigNode.<lambda>>)[source]
pop_leaf(keys)[source]
remove_child(key)[source]
serialize()[source]
update(other, extra_data=None)[source]
upsert_from_list(keys, value, extra_data=None)[source]