added new script for hubspot verification

This commit is contained in:
Jun-te Kim 2025-07-01 08:48:55 +00:00
parent ebb2443a5c
commit 4d455cdda3

View file

@ -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)