DiamondLightSource / DiamondLightSource/pythonSoftIOC

Provide mechanism to get record type

Aperta
#52 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
46
Fork
15
Merge medio
1g 18h
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.