dataflow.FlowGraphProcessPoint
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Defines the FlowGraphProcessPoint constructor, which returns a FlowGraphProcessPoint object.
Prototype
1 | FlowGraphProcessPoint(flow_graph, compile_config_path="", name=None) |
Parameters
Parameter |
Data Type |
Value Description |
|---|---|---|
flow_graph |
FlowGraph |
dataflow.FlowGraph subgraph. |
compile_config_path |
str |
Path of the configuration file for compiling FlowGraph. By default, this parameter is not set. |
name |
str |
Name of the ProcessPoint. The framework automatically ensures that the name is unique. If this parameter is not set, names such as FlowGraphProcessPoint, FlowGraphProcessPoint_1, FlowGraphProcessPoint_2, and the like will be automatically generated. |
Returns
None is returned in normal scenarios.
The DfException exception is reported in abnormal scenarios. You can obtain error_code and message in DfException to view the error code and error information. For details, see DataFlow Error Codes.
Examples
1 2 | import dataflow as df pp1 = df.FlowGraphProcessPoint(...) |
Constraints
None