OutputPort Class

Instance of an output port on a node, which can be connected to an input port.

Initialize OutputPort.

Inheritance
builtins.object
OutputPort

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
str

The datastore mode.

data_type

Get the type of the data.

Returns

Type Description
str

_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
str

The datastore name.

name

Get the name of the Output port.

Returns

Type Description
str

The name.

node

Return the node where the Output port is part of.

Returns

Type Description

node

overwrite

For "upload" mode, indicate whether to overwrite existing data.

Returns

Type Description
str

_overwrite

path_on_compute

For "upload" mode, the path to which the module writes this output during execution.

Returns

Type Description
str

The path on compute.

pipeline_output_name

Get the name of the pipeline output corresponding to this OutputPort.

Returns

Type Description
str

The pipeline output name.