__call__
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Calls FlowNode for computation.
Prototype
1 | __call__(*inputs) |
Parameters
Parameter |
Data Type |
Description |
|---|---|---|
*inputs |
Union[FlowData, FlowOutput] |
Dynamic parameter. The type is FlowData or FlowOutput. |
Returns
If there is only one output, the FlowOutput object is returned. If there are multiple outputs, the FlowOutput tuple is returned.
The errors are as follows.
Error Information |
Description |
|---|---|
TypeError |
The parameter type is incorrect. |
ValueError |
The parameter value is incorrect. |
Examples
1 2 3 4 | import dataflow as df data = df.FlowData() flow_node = df.FlowNode(...) flow_output = flow_node(data) |
Constraints
None
Parent topic: dataflow.FlowNode