Skip to content

Commit

Permalink
Fill in all the required fields of DatapumpConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
danscales committed Jun 17, 2024
1 parent fabe09e commit 2c088bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lambdas/dispatcher/src/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ def _sync(command: SyncCommand):

for sync_type in command.parameters.types:
# sync_config = config_client.get(sync=True, sync_type=sync_type)
sync_config = [DatapumpConfig(sync_type="gfw_integrated_alerts", dataset="gadm")]
sync_config = [DatapumpConfig(analysis_version="1.0", dataset="gadm",
dataset_version="3.6",
analysis="forest_change_diagnostic",
sync=True,
sync_type="integrated_alerts")]
if not sync_config:
slack_webhook(
"WARNING",
Expand Down

0 comments on commit 2c088bf

Please sign in to comment.