Skip to content

Fix countriesdata return annotation - #94

Merged
mcarans merged 1 commit into
mainfrom
fix-countriesdata-annotation
Sep 29, 2026
Merged

mcarans merged 1 commit into
mainfrom
fix-countriesdata-annotation

Conversation

@mcarans

@mcarans mcarans commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Closes #90

Country.countriesdata returns a dict of lookups (countries, iso2iso3, m49iso3 etc.), not a list. Changed the return annotation to dict[str, dict[str, Any]] and updated the docstring.

@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Test Results

36 tests  ±0   36 ✅ ±0   1m 13s ⏱️ -9s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 1068a37. ± Comparison against base commit a2cf1df.

♻️ This comment has been updated with latest results.

@coveralls

coveralls commented Sep 29, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 95.779% (+0.003%) from 95.776% — fix-countriesdata-annotation into main

@mcarans
mcarans merged commit 1a91997 into main Sep 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect annotation on countriesdata

2 participants