InputsRemoteWorkflowInstantiate#

class ansys.dpf.core.operators.utility.remote_workflow_instantiate.InputsRemoteWorkflowInstantiate(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to remote_workflow_instantiate operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.remote_workflow_instantiate()
>>> my_workflow_to_send = dpf.Workflow()
>>> op.inputs.workflow_to_send.connect(my_workflow_to_send)
>>> my_streams_to_remote = dpf.StreamsContainer()
>>> op.inputs.streams_to_remote.connect(my_streams_to_remote)
>>> my_data_sources_to_remote = dpf.DataSources()
>>> op.inputs.data_sources_to_remote.connect(my_data_sources_to_remote)

Overview#

connect

Connect any input (an entity or an operator output) to any input pin of this operator.

workflow_to_send

Allows to connect workflow_to_send input to the operator.

streams_to_remote

Allows to connect streams_to_remote input to the operator.

data_sources_to_remote

Allows to connect data_sources_to_remote input to the operator.

Import detail#

from ansys.dpf.core.operators.utility.remote_workflow_instantiate import InputsRemoteWorkflowInstantiate

Property detail#

property InputsRemoteWorkflowInstantiate.workflow_to_send: ansys.dpf.core.inputs.Input[ansys.dpf.core.workflow.Workflow | int]#

Allows to connect workflow_to_send input to the operator.

local workflow to push to a remote or id of a remote workflow

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.remote_workflow_instantiate()
>>> op.inputs.workflow_to_send.connect(my_workflow_to_send)
>>> # or
>>> op.inputs.workflow_to_send(my_workflow_to_send)
property InputsRemoteWorkflowInstantiate.streams_to_remote: ansys.dpf.core.inputs.Input[ansys.dpf.core.streams_container.StreamsContainer]#

Allows to connect streams_to_remote input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.remote_workflow_instantiate()
>>> op.inputs.streams_to_remote.connect(my_streams_to_remote)
>>> # or
>>> op.inputs.streams_to_remote(my_streams_to_remote)
property InputsRemoteWorkflowInstantiate.data_sources_to_remote: ansys.dpf.core.inputs.Input[ansys.dpf.core.data_sources.DataSources]#

Allows to connect data_sources_to_remote input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.remote_workflow_instantiate()
>>> op.inputs.data_sources_to_remote.connect(my_data_sources_to_remote)
>>> # or
>>> op.inputs.data_sources_to_remote(my_data_sources_to_remote)

Method detail#

InputsRemoteWorkflowInstantiate.__str__()#
InputsRemoteWorkflowInstantiate.connect(inpt)#

Connect any input (an entity or an operator output) to any input pin of this operator.

Searches for the input type corresponding to the output.

Deprecated since version Deprecated: in favor of explicit output-to-input connections.

InputsRemoteWorkflowInstantiate.__call__(inpt)#
InputsRemoteWorkflowInstantiate.__getitem__(item) → Input#