DiamondLightSource / DiamondLightSource/pythonSoftIOC

Provide mechanism to get record type

Đang mở
#52 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.