DiamondLightSource / DiamondLightSource/pythonSoftIOC
Provide stubs/annotations for RecordWrapper
未关闭
enhancement
- 主要语言
- Python
- 星标
- 46
- 派生
- 15
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 1
描述
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
贡献指南
评估
这个 Issue 还没有评估数据。