OutputPort Class
Instance of an output port on a node, which can be connected to an input port.
Initialize OutputPort.
- Inheritance
-
builtins.objectOutputPort
Constructor
OutputPort(node, output_port_def)
Parameters
Name | Description |
---|---|
node
Required
|
Node which contains this output |
output_port_def
Required
|
Definition of the module output port |
node
Required
|
Node which contains this output |
output_port_def
Required
|
Definition of the module output port |
Methods
connect |
Connect this port to a source. |
connect
Connect this port to a source.
connect(dest_port)
Parameters
Name | Description |
---|---|
dest_port
Required
|
Input port from the node that is the destination of the connection. |
Returns
Type | Description |
---|---|
The created edge. |
Attributes
bind_mode
Get the mode for producing output, either "mount" or "upload"(local file which is uploaded) or "hdfs".
Returns
Type | Description |
---|---|
The datastore mode. |
data_type
dataset_output
Get the output dataset configuration.
Returns
Type | Description |
---|---|
The output dataset configuration. |
dataset_registration
Get the dataset registration information.
Returns
Type | Description |
---|---|
The dataset registration information. |
datastore_name
Get the name of the datastore to write this output to.
Returns
Type | Description |
---|---|
The datastore name. |
name
node
overwrite
For "upload" mode, indicate whether to overwrite existing data.
Returns
Type | Description |
---|---|
_overwrite |
path_on_compute
For "upload" mode, the path to which the module writes this output during execution.
Returns
Type | Description |
---|---|
The path on compute. |
pipeline_output_name
Get the name of the pipeline output corresponding to this OutputPort.
Returns
Type | Description |
---|---|
The pipeline output name. |