Skip to main content

BaseNode

Base class for all nodes in the workforce. Parameters:
  • description (str): Description of the node.
  • node_id (Optional[str]): ID of the node. If not provided, it will be generated automatically. (default: :obj:None)

init

reset

Resets the node to its initial state.

set_channel

Sets the channel for the node.

stop

Stop the node.