survey-extraction/etl/hubSpotClient/scripts/debug_one_address.py
2026-03-20 11:53:01 +00:00

19 lines
No EOL
366 B
Python

from etl.hubSpotClient.hubspotClient import HubSpotClient
from etl.db.hubSpotLoad import HubspotTodb
working_deal_id = "319174821072"
deal_id = "484368267483"
hubspot = HubSpotClient()
db = HubspotTodb()
deal = db.find_deal_with_deal_id(deal_id)
deal2 = db.find_deal_with_deal_id(working_deal_id)
db.update_deal(deal2, hubspot)
db.update_deal(deal, hubspot)