set_contains_n_mapping_node
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets whether FlowGraph contains an n_mapping node. This node is contained if one of the following conditions is met:
- One input generates non-one (multiple or zero) output.
- Multiple inputs generate one output.
- Multiple inputs generate non-one (multiple or zero) output.
Prototype
1 | set_contains_n_mapping_node(self, contains_n_mapping_node: bool) |
Parameters
Parameter |
Data Type |
Description |
|---|---|---|
contains_n_mapping_node |
bool |
Whether the n_mapping node is included Set this parameter to true if n_mapping node exists. The default value is false. |
Returns
None
Examples
1 2 3 | import dataflow as df graph = df.FlowGraph(...) graph.set_contains_n_mapping_node(True) |
Constraints
None
Parent topic: dataflow.FlowGraph