ansys / ansys/ansys-engineeringworkflow-api
Use Protocols instead of ABCs
Open
enhancement
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### 📝 Description of the feature
I recently learned about Protocols in Python, which is a more Python-esque way to create interfaces. The changes are very minor and should not impact any code using this library. I suggest we make the same change to these interfaces.
More details on Protocol at: https://peps.python.org/pep-0544/
Example of a different API that was recently [changed from an ABC to a Protocol](https://github.com/ansys-internal/bdm-python-api/pull/54).
### 💡 Steps for implementing the feature
n/a
### 🔗 Useful links and references
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.