diff --git a/etl/hubspot/scripts/scraper/main.py b/etl/hubspot/scripts/scraper/main.py index d7f6add2..459ea5c2 100644 --- a/etl/hubspot/scripts/scraper/main.py +++ b/etl/hubspot/scripts/scraper/main.py @@ -14,7 +14,7 @@ import json # @subtask_handler() TODO: Do this without subtask_handler but task_handler() that creates task_id and subtask_id -def handler(body: dict[str, Any], context: Any, local: bool = False) -> None: +def handler(event: dict[str, Any], context: Any, local: bool = False) -> None: if local is True: event = { "Records": [