Skip to content

operator.outputs does not create an instance of the specific Outputs class, but the generic Outputs one #2750

@rafacanton

Description

@rafacanton

Before submitting the issue

  • I have checked for Compatibility issues
  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

Identified during the output pin alias issue with extract_field, when you do:

outputs = dpf.operators.dpf.operators.utility.extract_field()

outputs' class is not an instance of OutputsExtractField, but an instance of Outputs, making it impossible to employ the aliases defined through the __getattr__ method.

For Inputs this works fine.

Steps To Reproduce

Using pydpf-core branch maint/update_code_for_261_rcs_alias_on_main and sever branch *_rcs_alias, try to run test_animator_animate, for example.

Which Operating System causes the issue?

Windows, MacOS, Linux

Which DPF/Ansys version are you using?

Ansys 2026 R1

Which Python version causes the issue?

3.11

Installed packages

The official ones in requirements.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions