DiamondLightSource / DiamondLightSource/pythonSoftIOC
Provide mechanism to get record type
- Linguagem predominante
- Python
- Estrelas
- 46
- Forks
- 15
- Merge médio
- 1d 18h
- PRs com merge (30d)
- 1
Descrição
It would be convenient to have some method on a `RecordWrapper` that allows retrieving the record's type. For example, a `get_type()` record might return a string `ao`, to say that this record is an Analog Out type, or `bi` for Boolean In, etc.
This would allow users to query `RecordWrapper` instances dynamically to know what keyword arguments `set()` allows, for example.
Guia de contribuição
Direção de pesquisa
Start by locating the RecordWrapper implementation and the set() handling it exposes. Trace how record types and accepted keyword arguments are represented, then define what get_type() should return for examples such as ao and bi. Done means callers can retrieve the record type reliably and the behavior is covered by tests.
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
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100