Skip to content

Operator make_producer_consumer_for_each_iterator is not instanciable #3263

Description

@BClappe

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

When running:

import ansys.dpf.core.operators as ops

op = ops.utility.make_producer_consumer_for_each_iterator()

The script fails with PinSpecification.__init__() missing 1 required positional argument: 'type_names'. After looking into the code, it appears it's indeed missing a positional argument.

Steps To Reproduce

Run:

import ansys.dpf.core.operators as ops

op = ops.utility.make_producer_consumer_for_each_iterator()

And debug step by step until you fall on make_producer_consumer_for_each_iterator:289-295.

Which Operating System causes the issue?

Windows, Linux

Which DPF/Ansys version are you using?

Ansys 2027 R1

Which Python version causes the issue?

3.13

Installed packages

ansys-dpf-core 0.16.0.dev0 7e2c505
ansys-tools-common 0.5.0
certifi 2026.5.20
charset-normalizer 3.4.7
click 8.4.1
colorama 0.4.6
grpcio 1.81.0
idna 3.18
importlib-metadata 9.0.0
numpy 2.4.6
packaging 26.2
platformdirs 4.10.0
protobuf 7.35.0
psutil 7.2.2
requests 2.34.2
scooby 0.11.2
setuptools 82.0.1
tqdm 4.67.3
typing-extensions 4.15.0
urllib3 2.7.0
zipp 4.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions