From c7ebf8f27f66eda65dd093e21e74635d3f2d0b11 Mon Sep 17 00:00:00 2001 From: mcarans Date: Mon, 26 Feb 2024 10:24:37 +1300 Subject: [PATCH] Add national_risk_view, humanitarian_needs_view, population_group_view,population_status_view --- CHANGELOG.md | 7 ++++--- src/hapi/pipelines/app/build_db_views.py | 8 ++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c9b11a9..9d37c413 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +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.7.2] - 2024-02-26 +## [0.7.3] - 2024-02-26 -### Changed +### Added -- Update requirements +- Added national_risk_view, humanitarian_needs_view, population_group_view, +population_status_view ## [0.7.2] - 2024-02-08 diff --git a/src/hapi/pipelines/app/build_db_views.py b/src/hapi/pipelines/app/build_db_views.py index b57729e7..7b7bbc63 100644 --- a/src/hapi/pipelines/app/build_db_views.py +++ b/src/hapi/pipelines/app/build_db_views.py @@ -4,15 +4,19 @@ from hapi_schema.db_dataset import view_params_dataset from hapi_schema.db_food_security import view_params_food_security from hapi_schema.db_gender import view_params_gender +from hapi_schema.db_humanitarian_needs import view_params_humanitarian_needs from hapi_schema.db_ipc_phase import view_params_ipc_phase from hapi_schema.db_ipc_type import view_params_ipc_type from hapi_schema.db_location import view_params_location +from hapi_schema.db_national_risk import view_params_national_risk from hapi_schema.db_operational_presence import ( view_params_operational_presence, ) from hapi_schema.db_org import view_params_org from hapi_schema.db_org_type import view_params_org_type from hapi_schema.db_population import view_params_population +from hapi_schema.db_population_group import view_params_population_group +from hapi_schema.db_population_status import view_params_population_status from hapi_schema.db_resource import view_params_resource from hapi_schema.db_sector import view_params_sector from hdx.database.views import build_views @@ -27,13 +31,17 @@ view_params_dataset, view_params_food_security, view_params_gender, + view_params_humanitarian_needs, view_params_ipc_phase, view_params_ipc_type, view_params_location, + view_params_national_risk, view_params_operational_presence, view_params_org, view_params_org_type, view_params_population, + view_params_population_group, + view_params_population_status, view_params_resource, view_params_sector, ]