ansys / ansys/pyedb-core

Add TypeField descriptor to ConnObj and Primitive classes

Open
#131 1 comment 0 reactions 1 assignee Claimed by @drewm102 View on GitHub
Dominant language
Python
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

- Replace the layout_obj_type values in classes that derive from ConnObj with TypeField values similar to how the type value is handled in Terminal.py
- Introduce a TypeField for primitive_type in Primitive objects similar to how the type value is handled in Terminal.py
- Note: _type in TypeField needs to be replaced with something like "self._default" and the class needs "def \_\_set_name\_\_(self, name): self.\_default = f"\_{name}"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.