split_data_sources class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.logic
Summary
Splits a Data Sources into multiple coherent data sources, actual number of outputs is always less or equal to the given desired number of ouputs.
available inputs: data_sources (DataSources), output_count (Int32)
available outputs: output_count (Int32), outputs1 (DataSources), outputs2 (DataSources)
Example
op = split_data_sources()
op = split_data_sources(data_sources=my_data_sources,output_count=my_output_count)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.logic |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
data_sources
Data sources to split.
Type: LinkableInput
output_count
Number of desired outputs.
Type: LinkableInput
Outputs
output_count
Actual number of outputs.
Type: LinkableOutput
outputs1
Data sources outputs.
Type: LinkableOutput
outputs2
Data sources outputs.
Type: LinkableOutput
Constructors
Constructor
split_data_sources()
Constructor
split_data_sources(data_sources, output_count, config)
Parameters:
data_sources(object)output_count(object)config(OperatorConfig)
Constructor
split_data_sources(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig