DiamondLightSource / DiamondLightSource/pythonSoftIOC
Provide stubs/annotations for RecordWrapper
Đ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ả
Currently there's no way for a user to know what EPICS record attributes are accessible on a `RecordWrapper` without just trying to get the attribute - and only a small handful are accessible at the moment. This would also help static type checkers such as `mypy` to better reason about the values retrieved from the record.
A basic introduction to stubs can be found here: https://mypy.readthedocs.io/en/stable/stubs.html
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.