DiamondLightSource / DiamondLightSource/pythonSoftIOC

Provide mechanism to get record type

Aberta
#52 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
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

Abrir o 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

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.