OutputsSerializer#

class ansys.dpf.core.operators.serialization.serializer.OutputsSerializer(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from serializer operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.serialization.serializer()
>>> # Connect inputs : op.inputs. ...
>>> result_file_path = op.outputs.file_path()

Overview#

file_path

Allows to get file_path output of the operator

Import detail#

from ansys.dpf.core.operators.serialization.serializer import OutputsSerializer

Property detail#

property OutputsSerializer.file_path#

Allows to get file_path output of the operator

Returns:

my_file_path

Return type:

str

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.serialization.serializer()
>>> # Connect inputs : op.inputs. ...
>>> result_file_path = op.outputs.file_path()