seq
4.0.0-pre3
|
Functions | |
def | Visitor (tpl, parent=None) |
Iterator that recursively visits all nodes in a tree. More... | |
def | find_node (seq, node_id) |
Visits the whole tree until node_id is found. More... | |
def | find_node_by_number (seq, serial_number) |
Visits the whole tree until node_id is found. More... | |
def | seq_factory (m, *args, **kw) |
def | uniqueId (value=None) |
Returns an unique identifier number. More... | |
def | set_runtime_flag (node, flag, value=True) |
Stores a node's runtime flag in dictionary. More... | |
def | set_runtime_flag_from_dict (node, d) |
def | iscoroutine_or_partial (obj) |
Support function. More... | |
def | get_calling_function (stack_offset=1) |
finds the calling function in many decent cases. More... | |
def | get_param (k) |
def lib.nodes.utils.find_node | ( | seq, | |
node_id | |||
) |
Visits the whole tree until node_id is found.
def lib.nodes.utils.find_node_by_number | ( | seq, | |
serial_number | |||
) |
Visits the whole tree until node_id is found.
def lib.nodes.utils.get_calling_function | ( | stack_offset = 1 | ) |
finds the calling function in many decent cases.
def lib.nodes.utils.get_param | ( | k | ) |
def lib.nodes.utils.iscoroutine_or_partial | ( | obj | ) |
Support function.
Identifies coroutines wrapped with partial
def lib.nodes.utils.seq_factory | ( | m, | |
* | args, | ||
** | kw | ||
) |
def lib.nodes.utils.set_runtime_flag | ( | node, | |
flag, | |||
value = True |
|||
) |
Stores a node's runtime flag in dictionary.
def lib.nodes.utils.set_runtime_flag_from_dict | ( | node, | |
d | |||
) |
def lib.nodes.utils.uniqueId | ( | value = None | ) |
Returns an unique identifier number.
def lib.nodes.utils.Visitor | ( | tpl, | |
parent = None |
|||
) |
Iterator that recursively visits all nodes in a tree.