From 4d455cdda3c93c6472bae72bd5e601eaa1745473 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Tue, 1 Jul 2025 08:48:55 +0000 Subject: [PATCH] added new script for hubspot verification --- etl/hubspot_verification_to_db_load.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 etl/hubspot_verification_to_db_load.py diff --git a/etl/hubspot_verification_to_db_load.py b/etl/hubspot_verification_to_db_load.py new file mode 100644 index 0000000..bb42922 --- /dev/null +++ b/etl/hubspot_verification_to_db_load.py @@ -0,0 +1,18 @@ +import os +import pprint +from etl.hubSpotClient.hubspot import DealStage + +# Local development, comment this out to be production +os.environ["DATABASE_URL"] = "postgresql://postgres:makingwarmhomes@db:5432/postgres" + +from etl.db.hubSpotLoad import HubspotTodb + + +hubspotClient = HubspotTodb() +deals = hubspotClient.get_deals_from_deal_stage(DealStage.SURVEYED_COMPLETE_NEEDS_SIGN_OFF) +pprint(deals) + + + + +