Skip to content

Refactor Input.connect and Inputs.connect #1993

Open
@PProfizi

Description

@PProfizi

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

Input.connect and Inputs.connect have a lot of duplicated code, with some fixes in one and not the other. This is a big potential source of bugs at the center of the DPF logic.
Also improve coverage, especially for raised errors.

Steps To Reproduce

See for example #1991

Which Operating System causes the issue?

Windows, MacOS, Linux

Which DPF/Ansys version are you using?

DPF Server 2025.2.pre0

Which Python version causes the issue?

3.13

Installed packages

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions