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
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]
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
bind_mode
How this input will be consumed by the step ("mount" or "download").
Returns
The bind mode ("mount" or "download").
Return type
data_reference_name
Get the name of data reference associated with the input.
Returns
The data reference name.
Return type
data_types
incoming_edge
input_port_def
Get the Input port definition of this InputPort.
Returns
input_port_def: Definition of the module input port.
Return type
name
node
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for