From 98bd40e486355233741952736f113b7e12e0d15d Mon Sep 17 00:00:00 2001 From: Monica Turner Date: Mon, 10 Jun 2024 15:53:05 +0200 Subject: [PATCH 1/2] HDXDSYS-811 replace pop with all --- CHANGELOG.md | 6 ++++++ src/hapi/pipelines/database/humanitarian_needs.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bfcaa44..c93377f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [0.9.17] - 2024-06-10 + +### Changed + +- Replace "POP" with "all" for humanitarian needs population status + ## [0.9.16] - 2024-06-10 ### Changed diff --git a/src/hapi/pipelines/database/humanitarian_needs.py b/src/hapi/pipelines/database/humanitarian_needs.py index f82adf7e..a767cb68 100644 --- a/src/hapi/pipelines/database/humanitarian_needs.py +++ b/src/hapi/pipelines/database/humanitarian_needs.py @@ -136,7 +136,7 @@ def create_row(in_col, population_status): ) self._session.add(humanitarian_needs_row) - create_row("Population", "POP") + create_row("Population", "all") create_row("Affected", "AFF") create_row("In Need", "INN") create_row("Targeted", "TGT") From 49db9baa10c3ee83272218157b05adc9025c6091 Mon Sep 17 00:00:00 2001 From: Monica Turner Date: Tue, 11 Jun 2024 12:54:02 +0200 Subject: [PATCH 2/2] HDXDSYS-811 bump schema --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 272c401f..734b127c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -58,7 +58,7 @@ greenlet==3.0.3 # via sqlalchemy gspread==6.1.2 # via hdx-python-scraper -hapi-schema==0.8.11 +hapi-schema==0.8.12 # via hapi-pipelines (pyproject.toml) hdx-python-api==6.3.1 # via @@ -124,7 +124,7 @@ markupsafe==2.1.5 # via jinja2 mdurl==0.1.2 # via markdown-it-py -more-itertools==10.2.0 +more-itertools==10.3.0 # via inflect ndg-httpsclient==0.5.1 # via hdx-python-api