ansys / ansys/pyconverter-xml2py
Methods with multiple parents
- Dominant language
- Python
- Stars
- 6
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### 📝 Description of the feature
Some functions have multiple "parents". This is the case for ``define`` and ``print``. They both appear in ``POST1`` and ``POST26``:

For now, the first parent appearing in the parent section is the one where the function will be assigned. Thus, ``print`` and ``define`` are in ``post1`` submodule but not in ``post26``.
### 💡 Steps for implementing the feature
_No response_
### 🔗 Useful links and references
_No response_
Contributor guide
Research direction
Start by tracing how the converter handles parent sections for POST1 and POST26, using the `define` and `print` functions as examples. The change is complete when functions appearing under multiple parents are available in each corresponding submodule rather than only under the first parent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100