Skip to content

Commit

Permalink
Merge pull request #58 from OCHA-DAP/main
Browse files Browse the repository at this point in the history
Merge changes from main
  • Loading branch information
mcarans authored Oct 26, 2023
2 parents 094e52f + d004061 commit e6c8cc6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.4] - 2023-10-19

### Changed

- HDX provider code and name change

## [0.5.3] - 2023-10-19

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
"hdx-python-scraper>= 2.2.2",
"hdx-python-country>= 3.5.5",
"hdx-python-database[postgresql]>= 1.2.9",
"hapi-schema>= 0.2.0",
"hapi-schema>= 0.3.2",
"libhxl",
"sqlalchemy"
]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ greenlet==3.0.0
# via sqlalchemy
gspread==5.12.0
# via hdx-python-scraper
hapi-schema==0.3.1
hapi-schema==0.3.2
# via hapi-pipelines (pyproject.toml)
hdx-python-api==6.1.3
# via hdx-python-scraper
Expand Down
4 changes: 2 additions & 2 deletions src/hapi/pipelines/database/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def populate(self):
hdx_id=dataset_id,
hdx_stub=dataset["hdx_stub"],
title=dataset["title"],
provider_code=dataset["provider_code"],
provider_name=dataset["provider_name"],
hdx_provider_stub=dataset["hdx_provider_stub"],
hdx_provider_name=dataset["hdx_provider_name"],
)
self._session.add(dataset_row)
self._session.commit()
Expand Down

0 comments on commit e6c8cc6

Please sign in to comment.