Work on ISHLT Impexium importing

This commit is contained in:
Scott Idem
2022-04-16 12:03:32 -04:00
parent 70523d5bbf
commit 1f66eb0abc
2 changed files with 4 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ async def patch_event_badge_obj(
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
time.sleep(2)
obj_type = 'event_badge'
obj_data_dict = obj.dict(by_alias=False, exclude_unset=True)
obj_data_dict['id'] = redis_lookup_id_random(record_id_random=obj_id, table_name=obj_type)