Skip to content

Commit

Permalink
Merge pull request #38 from OCHA-DAP/HAPI-212
Browse files Browse the repository at this point in the history
Possible way to modify add_configurables
  • Loading branch information
mcarans authored Oct 8, 2023
2 parents f32803c + 7ae5e04 commit 7ccd0cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hapi/pipelines/app/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ def _create_configurable_scrapers(
admin_sources=True,
adminlevel=adminlevel,
)
self.configurable_scrapers[prefix] = self.runner.add_configurables(
self.configurable_scrapers[
prefix
] = self.configurable_scrapers.get(
prefix, []
) + self.runner.add_configurables(
self.configuration[f"{prefix}{suffix}"],
level,
adminlevel=adminlevel,
Expand Down

0 comments on commit 7ccd0cf

Please sign in to comment.