diff --git a/etl/db/hubSpotLoad.py b/etl/db/hubSpotLoad.py index dca83d5..0c47a40 100644 --- a/etl/db/hubSpotLoad.py +++ b/etl/db/hubSpotLoad.py @@ -117,6 +117,8 @@ class HubspotTodb: Also uploads photos if present and adds S3 URL. """ with get_db_session() as session: + print("junte was here ") + print(deal_data) deal_id = deal_data.get("hs_object_id") statement = select(HubspotDealData).where(HubspotDealData.deal_id == deal_id) diff --git a/etl/hubSpotClient/hubspotClient.py b/etl/hubSpotClient/hubspotClient.py index b0d74d0..591b128 100644 --- a/etl/hubSpotClient/hubspotClient.py +++ b/etl/hubSpotClient/hubspotClient.py @@ -16,6 +16,7 @@ class Companies(Enum): LIVEWEST = "86205872354" SURESERVE = "301745289413" HOMEGROUP = "94946071794" + APPLE = "184769046716" class DealStage(Enum): SURVEYED_COMPLETE_NEEDS_SIGN_OFF = "1617223914" diff --git a/etl/hubSpotClient/scripts/hubspot_gather_all_deals.py b/etl/hubSpotClient/scripts/hubspot_gather_all_deals.py index eec8ae0..f4826a0 100644 --- a/etl/hubSpotClient/scripts/hubspot_gather_all_deals.py +++ b/etl/hubSpotClient/scripts/hubspot_gather_all_deals.py @@ -8,11 +8,12 @@ loader = HubspotTodb() PIPELINE_ID = Pipeline.OPERATIONS_SOCIAL_HOUSING.value valuable_companies = [ - Companies.HOMEGROUP.value, - Companies.ABRI.value, - Companies.SOUTHERN_HOUSING_GROUP.value, - Companies.SURESERVE.value, - Companies.LIVEWEST.value, + # Companies.HOMEGROUP.value, + # Companies.ABRI.value, + # Companies.SOUTHERN_HOUSING_GROUP.value, + # Companies.SURESERVE.value, + # Companies.LIVEWEST.value, + Companies.APPLE.value, ] deals_to_add = []