InputPort Class
Instance of an input port on a node, which can be connected to an output port.
Initialize InputPort.
- Inheritance
-
builtins.objectInputPort
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
|
Union[OutputPort, PortDataReference, DataReference, PipelineData, OutputPortBinding, Dataset, PipelineDataset]
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 |
---|---|
The bind mode ("mount" or "download"). |
data_reference_name
Get the name of data reference associated with the input.
Returns
Type | Description |
---|---|
The data reference name. |
data_types
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
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 |
---|---|
The path on the compute. |