Skip to content

Commit

Permalink
HAPI uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Feb 19, 2025
1 parent a291078 commit 3819f78
Show file tree
Hide file tree
Showing 9 changed files with 156 additions and 998 deletions.
2 changes: 1 addition & 1 deletion .config/pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: ruff-format
args: [--config, .config/ruff.toml]
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.29
rev: 0.6.1
hooks:
# Run the pip compile
- id: pip-compile
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ dependencies = [
"hdx-python-api>= 6.3.8",
"hdx-python-country>= 3.8.8",
"hdx-python-database[postgresql]>= 1.3.5",
"hdx-python-scraper>= 2.6.2",
"hdx-python-utilities>= 3.8.3",
"hdx-python-scraper>= 2.6.3",
"hdx-python-utilities>= 3.8.4",
"libhxl",
"sqlalchemy"
]
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ hdx-python-country==3.8.8
# hdx-python-scraper
hdx-python-database==1.3.5
# via hapi-pipelines (pyproject.toml)
hdx-python-scraper==2.6.2
hdx-python-scraper==2.6.3
# via hapi-pipelines (pyproject.toml)
hdx-python-utilities==3.8.3
hdx-python-utilities==3.8.4
# via
# hapi-pipelines (pyproject.toml)
# hdx-python-api
# hdx-python-country
# hdx-python-scraper
humanize==4.12.0
humanize==4.12.1
# via frictionless
identify==2.6.7
# via pre-commit
Expand Down
1 change: 1 addition & 0 deletions src/hapi/pipelines/app/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def output_humanitarian_needs(self):
metadata=self._metadata,
admins=self._admins,
configuration=self._configuration,
error_handler=self._error_handler,
)
humanitarian_needs.populate()

Expand Down
Loading

0 comments on commit 3819f78

Please sign in to comment.