DiamondLightSource / DiamondLightSource/pythonSoftIOC
Provide stubs/annotations for RecordWrapper
Ouverte
enhancement
- Langage dominant
- Python
- Étoiles
- 46
- Forks
- 15
- Merge moyen
- 1 j 18 h
- PR mergées (30 j)
- 1
Description
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
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.