OCHA-DAP / OCHA-DAP/hdx-python-country

Incorrect annotation on countriesdata

Open Beginner friendly
#90 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.