Optional Thing @type argument in wait_for_first()
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
Start at the ThingBrowser().wait_for_first() entry point and trace how it currently selects the first Thing. Add coverage for the optional type argument using the example value, and confirm that the method returns the first matching Thing while preserving behavior when no type is supplied.
Written by the indexing model from the issue text.
Description
This should really be a day-1 feature, but passing a filter to ThingBrowser().wait_for_first() is essential.
For example:
microscope = ThingBrowser().wait_for_first(type="org.openflexure.microscope")
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 labthings/python-labthings-client
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
labthings/python-labthings-client#6 · 1 comment ·
-
Async supportOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Move atexit registration to Browser initMay be free again @jtc42 claimed this 2383 days ago, and no pull request is open. Open
labthings/python-labthings-client#2 · 1 assignee ·
All issues in labthings/python-labthings-client
Similar issues
-
bug feature request
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Qiskit/qiskit-obp#156 ·
-
action-item enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
getcommunityone/open-navigator#1658 ·
Maintainers usually reply within 1 day
-
review-panel severity:low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kristovatlas/coin-accounting#636 ·
Maintainers usually reply within 1 day