InputPort Class

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

Initialize InputPort.

Inheritance
builtins.object
InputPort

Constructor

InputPort(node, input_port_def)

Parameters

node
Node
Required

Node which contains this input.

input_port_def
InputPortDef
Required

Definition of the module input port.

node
Node
Required

Node which contains this input.

input_port_def
InputPortDef
Required

Definition of the module input port.

Methods

connect

Connect this port to a source.

disconnect

Disconnect this InputPort.

connect

Connect this port to a source.

connect(source_port)

Parameters

source_port
Union[OutputPort, PortDataReference, DataReference, PipelineData, OutputPortBinding, Dataset, PipelineDataset]
Required

The source of the connection.

Returns

edge

Return type

disconnect

Disconnect this InputPort.

disconnect()

Attributes

additional_transformations

Get the additional transformations that will be applied to the dataset.

Returns

The additional transformations that will be applied to the dataset.

Return type

<xref:azureml.dataprep.Dataflow>

bind_mode

How this input will be consumed by the step ("mount" or "download").

Returns

The bind mode ("mount" or "download").

Return type

str

data_reference_name

Get the name of data reference associated with the input.

Returns

The data reference name.

Return type

str

data_types

Get the Data types list for the Input port.

Returns

List of data type names.

Return type

incoming_edge

Incoming edge.

Returns

_incoming_edge

Return type

input_port_def

Get the Input port definition of this InputPort.

Returns

input_port_def: Definition of the module input port.

Return type

name

Name of the Input port.

Returns

The name.

Return type

str

node

Return the node where the input port is part of.

Returns

node

Return type

overwrite

For "download" mode, whether to overwrite existing data.

Returns

The overwrite property.

Return type

path_on_compute

For "download" mode, the path on the compute the data will reside.

Returns

The path on the compute.

Return type

str