mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
save
This commit is contained in:
parent
4c4b3b059c
commit
824e17dee6
3 changed files with 9 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ class Companies(Enum):
|
|||
LIVEWEST = "86205872354"
|
||||
SURESERVE = "301745289413"
|
||||
HOMEGROUP = "94946071794"
|
||||
APPLE = "184769046716"
|
||||
|
||||
class DealStage(Enum):
|
||||
SURVEYED_COMPLETE_NEEDS_SIGN_OFF = "1617223914"
|
||||
|
|
|
|||
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue