-
Couldn't load subscription status.
- Fork 23
Description
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 a U-Norm workflow and trying to explore the workflow topology, I'm getting the following error when trying to get the raw DataSources back: TypeError: <class 'ansys.dpf.core.data_sources.DataSources'> is not currently supported by the Any class..
Steps To Reproduce
Here is how to reproduce:
from ansys.dpf import core as dpf
from ansys.dpf.core import operators
workflow = dpf.Workflow()
op_displacement = operators.result.displacement(
data_sources=dpf.DataSources("./path/to/datasources.rst")
)
workflow.add_operator(op_displacement)
topology = workflow.get_topology()
for data_connection in topology.data_connections:
print(data_connection.source_data) # The access to the source_data raisesWhich Operating System causes the issue?
Windows, Linux
Which DPF/Ansys version are you using?
Ansys 2025 R2, Ansys 2026 R1
Which Python version causes the issue?
3.10, 3.11, 3.12, 3.13
Installed packages
ansys-dpf-core==0.13.8
argcomplete==3.5.1
cachetools==5.5.0
certifi==2024.12.14
charset-normalizer==3.4.1
click==8.1.7
colorama==0.4.6
distlib==0.3.9
filelock==3.16.1
google-api-core==2.24.0
google-api-python-client==2.157.0
google-auth==2.37.0
google-auth-httplib2==0.2.0
googleapis-common-protos==1.66.0
grpcio==1.69.0
httplib2==0.22.0
idna==3.10
importlib_metadata==8.5.0
numpy==2.2.1
packaging==24.2
pipx==1.7.1
platformdirs==4.3.6
proto-plus==1.25.0
protobuf==5.29.2
psutil==6.1.1
pyasn1==0.6.1
pyasn1_modules==0.4.1
pyparsing==3.2.1
requests==2.32.3
rsa==4.9
setuptools==75.7.0
tqdm==4.67.1
uritemplate==4.1.1
urllib3==2.3.0
userpath==1.9.2
virtualenv==20.26.6
zipp==3.21.0