From 0f9d031944874cf9ca75005a213f5e01ea4541ec Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Tue, 31 Mar 2026 10:38:46 +0000 Subject: [PATCH] removed subtask handler as need to do that differently --- etl/hubspot/scripts/scraper/main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/etl/hubspot/scripts/scraper/main.py b/etl/hubspot/scripts/scraper/main.py index aa9a9502..94342497 100644 --- a/etl/hubspot/scripts/scraper/main.py +++ b/etl/hubspot/scripts/scraper/main.py @@ -7,18 +7,15 @@ 6) [TODO]The new sexy deal properties, move it over """ -from backend.utils.subtasks import subtask_handler from etl.hubspot.hubspotClient import HubspotClient from etl.hubspot.hubspotDataTodB import HubspotDataToDb from typing import Any -@subtask_handler() +# @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: if local is True: body = { - "task_id": "e31f2f21-175b-4a91-a3ec-a6baa325e917", - "sub_task_id": "8673913b-1a88-42d7-8578-0449123d94b0", "hubspot_deal_id": "254427203793", }