Bug located in created_workflow since version 24R2
- Dominant language
- Python
- Stars
- 497
- Forks
- 77
- Avg merge
- 22h 37m
- Merged PRs (30d)
- 45
Description
### 🔍 Before submitting the issue
- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment
### 🐞 Description of the bug
After inserting a task to new workflow we are not able to access the task.
### 📝 Steps to reproduce
For 27R1:
```python
created_workflow = meshing.create_workflow(legacy=True)
assert sorted([repr(x) for x in created_workflow.insertable_tasks()]) == sorted(
[
"",
"",
"",
"",
"",
"",
]
)
created_workflow.insertable_tasks()[1].insert()
assert created_workflow.insertable_tasks() == []
created_workflow.import_geometry.insertable_tasks()
```
Traceback (most recent call last):
File "", line 1, in
File "D:\PyFluent_Dev\pyfluent\src\ansys\fluent\core\workflow.py", line 1501, in __getattr__
return super().__getattribute__(attr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'CreateWorkflow' object has no attribute 'import_geometry'
### 💻 Which operating system are you using?
Windows
### 📀 Which ANSYS version are you using?
27R1
Check in CI as well for all other versions
### 🐍 Which Python version are you using?
3.12
### 📦 Installed packages
```shell
.
```
Contributor guide
Assessment
This issue has not been assessed yet.