Work on import from Impexium for ISHLT with mutliple events.

This commit is contained in:
Scott Idem
2022-03-21 14:25:20 -04:00
parent 44898fbfd3
commit 0fa04710ff
4 changed files with 13 additions and 10 deletions

View File

@@ -144,7 +144,7 @@ def create_update_event_person_profile_obj_v4(
event_person_profile_obj.id = event_person_profile_id
log.debug(event_person_profile_obj)
event_person_profile_dict = event_person_profile_obj.dict(by_alias=False, exclude_defaults=False, exclude_unset=True, exclude={'account_id', 'account_id_random', 'contact', 'event_cfg', 'event_id', 'event_id_random', 'event_person_id', 'event_person_id_random', 'organization', 'created_on', 'updated_on'})
event_person_profile_dict = event_person_profile_obj.dict(by_alias=False, exclude_defaults=False, exclude_unset=True, exclude={'account_id', 'account_id_random', 'contact', 'event_cfg', 'event_id', 'event_id_random', 'event_person_id', 'event_person_id_random', 'organization', 'created_on', 'updated_on', 'external_id_old'})
# ### SECTION ### Process data
contact_id = None
@@ -219,4 +219,4 @@ def create_update_event_person_profile_obj_v4(
else:
log.debug(f'Returning the Event Person Profile ID: {event_person_profile_id}')
return event_person_profile_id
# ### END ### API Event Person Profile Methods ### create_update_event_person_profile_obj_v4() ###
# ### END ### API Event Person Profile Methods ### create_update_event_person_profile_obj_v4() ###