DiamondLightSource / DiamondLightSource/pythonSoftIOC
Provide stubs/annotations for RecordWrapper
- Linguagem predominante
- Python
- Estrelas
- 46
- Forks
- 15
- Merge médio
- 1d 18h
- PRs com merge (30d)
- 1
Descrição
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
Guia de contribuição
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- backend
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100