seq  4.0.0-pre3
Functions
lib.nodes.utils Namespace Reference

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)
 

Function Documentation

◆ find_node()

def lib.nodes.utils.find_node (   seq,
  node_id 
)

Visits the whole tree until node_id is found.

◆ find_node_by_number()

def lib.nodes.utils.find_node_by_number (   seq,
  serial_number 
)

Visits the whole tree until node_id is found.

◆ get_calling_function()

def lib.nodes.utils.get_calling_function (   stack_offset = 1)

finds the calling function in many decent cases.

◆ get_param()

def lib.nodes.utils.get_param (   k)

◆ iscoroutine_or_partial()

def lib.nodes.utils.iscoroutine_or_partial (   obj)

Support function.

Identifies coroutines wrapped with partial

◆ seq_factory()

def lib.nodes.utils.seq_factory (   m,
args,
**  kw 
)

◆ set_runtime_flag()

def lib.nodes.utils.set_runtime_flag (   node,
  flag,
  value = True 
)

Stores a node's runtime flag in dictionary.

◆ set_runtime_flag_from_dict()

def lib.nodes.utils.set_runtime_flag_from_dict (   node,
  d 
)

◆ uniqueId()

def lib.nodes.utils.uniqueId (   value = None)

Returns an unique identifier number.

◆ Visitor()

def lib.nodes.utils.Visitor (   tpl,
  parent = None 
)

Iterator that recursively visits all nodes in a tree.