gather.py
gather_ios(module_or_package)
Gathers all Input, Output and IO instances from a given module or package (recursively).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
module_or_package
|
ModuleType
|
The module or package to search. |
required |
Returns:
Type | Description |
---|---|
dict[str, IO | Input | Output]
|
Dictionary of IO names to instances for the given module/package. |
gather_nodes(module_or_package)
Gathers all nodes from a given module or package (recursively).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
module_or_package
|
ModuleType
|
The module or package to search. |
required |
Returns:
Type | Description |
---|---|
dict[str, Node]
|
Dictionary of node names to instances for the given module/package. |