SplitDataFlow
Python template · sinapsis_core.template_base.split_data_flow
Overview
Template used to split data flow among Agent definition.
It's the only template allowed to produce a list of DataContainer objects as output. The number of elements in the output list is determined by the attribute number_of_outputs.
Capabilities
Capabilities: not setInstallation
Install the published package using pip or uv.
pip install sinapsis==1.0.0uv pip install sinapsis==1.0.0uv add sinapsis==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Optional
Default: null
Optional
Default: "deepcopy"
Define the number of allowed output connections. It must be specified according to the number of templates that will receive data from this template.
Required
Default: null
Configuration example
Generated from documented defaults. Replace any placeholders and complete required nested settings before running.
templates:
- template_name: "SplitDataFlow"
class_name: "SplitDataFlow"
attributes:
copy_type: "deepcopy"
number_of_outputs: "<required>"
Inheritance
sinapsis_core.template_base.copy_data_container.CopyDataContainerEnvironment variables
Environment definitions belong to their canonical Python modules.
No directly related environment variables listed.