Skip to content

HDXDSYS-2962 HDX Python Country should use WFP DataBridges Python library - #88

Merged
mcarans merged 4 commits into
mainfrom
wfp_library
Jul 20, 2026
Merged

mcarans merged 4 commits into
mainfrom
wfp_library

Conversation

@mcarans

@mcarans mcarans commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

No description provided.

mcarans and others added 4 commits July 16, 2026 15:07
_call() saved raw model dicts via hdx.utilities.saver.save_json,
which has no hook for non-JSON-native types. Model to_dict()
implementations call pydantic's model_dump() (not mode="json"),
so datetime fields (e.g. createDate) are left as native datetime
objects and json.dump() rejects them. Serialize the dict directly
with a default= handler that converts datetime/date to ISO strings.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Test Results

34 tests  ±0   34 ✅ ±0   1m 3s ⏱️ -20s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 101acff. ± Comparison against base commit c820e6d.

@mcarans
mcarans merged commit 458d350 into main Jul 20, 2026
3 of 5 checks passed
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 95.885% (-0.8%) from 96.643% — wfp_library into main

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.

2 participants