set_alias
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets the node alias. When option:ge.experiment.data_flow_deploy_info_path is used to specify the node deployment location, the flow_node_list field can be specified using the alias.
Prototype
1 | def set_alias(self, name) -> FlowNode |
Parameters
Parameter |
Data type |
Description |
|---|---|---|
name |
str |
Alias of a FlowNode. |
Returns
Current FlowNode.
Examples
1 2 3 | import dataflow as df flow_node = df.FlowNode(...) flow_node.set_alias(name="hello") |
Constraints
None
Parent topic: dataflow.FlowNode