DiamondLightSource / DiamondLightSource/pythonSoftIOC
Provide mechanism to get record type
Open
enhancement
- Dominant language
- Python
- Stars
- 46
- Forks
- 15
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Description
It would be convenient to have some method on a `RecordWrapper` that allows retrieving the record's type. For example, a `get_type()` record might return a string `ao`, to say that this record is an Analog Out type, or `bi` for Boolean In, etc.
This would allow users to query `RecordWrapper` instances dynamically to know what keyword arguments `set()` allows, for example.
Contributor guide
Assessment
This issue has not been assessed yet.