Add typehint for DataModel in app.py
Open
- Dominant language
- Python
- Stars
- 83
- Forks
- 37
- Avg merge
- 1d 3m
- Merged PRs (30d)
- 26
Description
Add typehint for DataModel in app.py once https://github.com/ansys/pymechanical-stubs/pull/93 is merged and a patch release of ansys-mechanical-stubs has been completed
Update this line to def DataModel(self) -> Ansys.Mechanical.DataModel.Interfaces.IDataModelObject (or DataModelObject since it points to IDataModelObject)
https://github.com/ansys/pymechanical/blob/033053b4e02c90d605799fbbcccd062cf1637d6e/src/ansys/mechanical/core/embedding/app.py#L379
Contributor guide
Assessment
This issue has not been assessed yet.