• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCHA-DAP / hdx-python-country / 41729633872
97%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 10:19PM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Nov 2026 10:18PM UTC coverage: 97.02% (+1.3%) from 95.759%
41729633872

push

github

web-flow
Fetch all WFP DataBridges endpoints as CSV (#101)

* Fetch all WFP DataBridges endpoints as CSV

JSON paging of market_prices_price_monthly_get is unstable: each run
returns about 1.4% of rows twice and omits the same number. CSV returns
every row once in a single request, so all endpoints now use CSV and
the JSON paging code is removed.

- Converters from CSV strings are generated from the model annotations
- Monthly prices split the date range in half on a gateway 504
- Saved data and fixtures are the CSV WFP returns, one file per call
- Quotation saved files include the currency

* Simplify WFP CSV fetching and parsing

- _get_all wraps API methods in _get_csv itself
- Collect split price ranges in a list and join once
- Parse CSV with column keys and converters computed once from the header
- Add _to_date and _default_end_date helpers, used by tests

111 of 118 new or added lines in 1 file covered. (94.07%)

1335 of 1376 relevant lines covered (97.02%)

0.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
92.71
17.49% src/hdx/location/wfp_api.py
Jobs
ID Job ID Ran Files Coverage
1 tests - 41729633872.1 03 Nov 2026 10:19PM UTC 6
97.02
GitHub Action Run
Source Files on build 41729633872
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41729633872
  • 2e4e4dfa on github
  • Prev Build on main (#40990717819)
  • Next Build on main (#41730116314)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc