Skip to content

gather.py

gather_ios_from_module(module)

Find all IO objects defined in the provided module

Parameters:

Name Type Description Default
module ModuleType

the Python module object

required

Returns:

Type Description
dict[str, IO | Input | Output]

a dict of IO objects with their variable name as key

gather_nodes_and_ios_from_package(package)

Gather all nodes and IOs from the provided package.

Parameters:

Name Type Description Default
package ModuleType

the Python package object

required

Returns:

Type Description
tuple[set[Node], dict[str, IO | Input | Output]]

a tuple of a set of Node objects and a dict of IO objects

gather_nodes_from_registry()

Find all Node objects defined in the provided module

Returns:

Type Description
set[Node]

a set of Node objects