OCHA-DAP / OCHA-DAP/hdx-python-country
Incorrect annotation on countriesdata
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 28
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Country.countriesdata returns a dictionary not a list. The annotation is incorrect. It probably should be Dict[str, Dict[str, Any]].
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start at the Country.countriesdata entry point and inspect its current return annotation and actual returned value. Update the annotation to reflect the dictionary shape described in the issue, then verify that the annotation matches the method's behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100