generated from ansys/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew features or code improvementsNew features or code improvementsmaintenancePackage and maintenance relatedPackage and maintenance related
Description
π Description of the feature
Deprecate constants that are wrappers of enums that are defined in the .proto files. It is preferable to use the enums as defined in the .proto files and document this usage using type hints.
An example for this can be seen in parts_types.py, PartsListSearchMatchingMode.
The classes to remove are listed here.
analysis_types.py
- ElementOrder
- ModelSource
- RunAnalysisRequestAnalysisType
- RunStrainMapAnalysisRequestAnalysisType
- UpdatePcbModelingPropsRequestAnalysisType
- UpdatePcbModelingPropsRequestPcbMaterialModel
- UpdatePcbModelingPropsRequestPcbModelType
parts_types.py
- PartsListSearchDuplicationMode
- AVLPartNum
- AVLDescription
Update the following to reference the enums defined in the .proto files:
- Type hints
- API usage examples
- examples
It will help to include a version that this is decremented in.
E.g. 25.2
Since this isn't specified in PartsListSearchMatchingMode, it is fine to set the version to 25.2 for that. This way all of these can be removed at the same time.
π‘ Steps for implementing the feature
No response
π Useful links and references
No response
Metadata
Metadata
Assignees
Labels
enhancementNew features or code improvementsNew features or code improvementsmaintenancePackage and maintenance relatedPackage and maintenance related