Provide mechanism to get record type
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 47
- Forks
- 15
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DiamondLightSource/pythonSoftIOC
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 32/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
enhancement
DiamondLightSource/pythonSoftIOC#121 · 2 comments · 1 assignee ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in DiamondLightSource/pythonSoftIOC
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·