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

Name Description
node
Required

Node which contains this input.

input_port_def
Required

Definition of the module input port.

node
Required

Node which contains this input.

input_port_def
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

Name Description
source_port
Required

The source of the connection.

Returns

Type Description

edge

disconnect

Disconnect this InputPort.

disconnect()

Attributes

additional_transformations

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

Returns

Type Description
<xref:azureml.dataprep.Dataflow>

The additional transformations that will be applied to the dataset.

bind_mode

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

Returns

Type Description
str

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

data_reference_name

Get the name of data reference associated with the input.

Returns

Type Description
str

The data reference name.

data_types

Get the Data types list for the Input port.

Returns

Type Description

List of data type names.

incoming_edge

Incoming edge.

Returns

Type Description

_incoming_edge

input_port_def

Get the Input port definition of this InputPort.

Returns

Type Description

input_port_def: Definition of the module input port.

name

Name of the Input port.

Returns

Type Description
str

The name.

node

Return the node where the input port is part of.

Returns

Type Description

node

overwrite

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

Returns

Type Description

The overwrite property.

path_on_compute

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

Returns

Type Description
str

The path on the compute.