Use `Query` type instead of `str`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
Research direction
Start by reading centraldogma/content_service.py at the linked API and centraldogma/query.py around lines 30-45 to understand the Query type introduced by #14. Search the existing APIs for query expressions typed as str and update the relevant annotations and usage. Done means all applicable query-expression APIs use Query consistently.
Written by the indexing model from the issue text.
Description
#14 introduced Query type. The existing APIs that use a string as a query expression need to be updated such as.
https://github.com/line/centraldogma-python/blob/6098f1afe6b181388ab32bd7f91161dd7bd2a70d/centraldogma/content_service.py#L44
https://github.com/line/centraldogma-python/blob/6098f1afe6b181388ab32bd7f91161dd7bd2a70d/centraldogma/query.py#L30-L45
- Dominant language
- Python
- Stars
- 21
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
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 line/centraldogma-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
line/centraldogma-python#64 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
line/centraldogma-python#63 · 1 comment ·
-
new feature
Difficulty 4/5 3-5 days Newbie friendliness 35/100
line/centraldogma-python#62 · 1 reaction ·
-
cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
line/centraldogma-python#59 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
line/centraldogma-python#32 · 4 comments ·
All issues in line/centraldogma-python
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·