mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
19 lines
No EOL
366 B
Python
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) |