DiamondLightSource / DiamondLightSource/pythonSoftIOC
Provide mechanism to get record type
Đang mở
enhancement
- Ngôn ngữ chính
- Python
- Star
- 46
- Fork
- 15
- Merge trung bình
- 1 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.