DiamondLightSource / DiamondLightSource/pythonSoftIOC
Provide stubs/annotations for RecordWrapper
- 主要語言
- 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
貢獻指南
研究方向
Start by locating the RecordWrapper definition and review the linked mypy stubs guide. Identify the EPICS record attributes currently exposed there and add declarations for them; done means users can discover the accessible attributes and mypy can infer the values retrieved from the record.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- backend
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100