Work on ISHLT Impexium importing
This commit is contained in:
@@ -61,6 +61,7 @@ class Event_Badge_Base(BaseModel):
|
|||||||
credentials: Optional[str] # NOTE: Phasing out! Use *designations* instead.
|
credentials: Optional[str] # NOTE: Phasing out! Use *designations* instead.
|
||||||
|
|
||||||
professional_title: Optional[str] # Professional title
|
professional_title: Optional[str] # Professional title
|
||||||
|
display_professional_title: Optional[str] # Override professional title
|
||||||
title: Optional[str] # NOTE: Phasing out! Use *professional_title* instead.
|
title: Optional[str] # NOTE: Phasing out! Use *professional_title* instead.
|
||||||
|
|
||||||
display_name: Optional[str] # # Override full_name; Actual name shown on badge and other "public" areas
|
display_name: Optional[str] # # Override full_name; Actual name shown on badge and other "public" areas
|
||||||
@@ -218,6 +219,7 @@ class Event_Badge_Basic_Base(BaseModel):
|
|||||||
designations: Optional[str] # Temporary or long-term designations related to family, relationships, person differentiation (Junior/Senior), location, social status, professional qualifications, legal status, or other name suffix
|
designations: Optional[str] # Temporary or long-term designations related to family, relationships, person differentiation (Junior/Senior), location, social status, professional qualifications, legal status, or other name suffix
|
||||||
|
|
||||||
professional_title: Optional[str] # Professional title
|
professional_title: Optional[str] # Professional title
|
||||||
|
display_professional_title: Optional[str] # Override professional title
|
||||||
|
|
||||||
display_name: Optional[str] # Override full_name; Actual name shown on badge and other "public" areas
|
display_name: Optional[str] # Override full_name; Actual name shown on badge and other "public" areas
|
||||||
|
|
||||||
|
|||||||
@@ -56,6 +56,8 @@ async def patch_event_badge_obj(
|
|||||||
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
|
time.sleep(2)
|
||||||
|
|
||||||
obj_type = 'event_badge'
|
obj_type = 'event_badge'
|
||||||
obj_data_dict = obj.dict(by_alias=False, exclude_unset=True)
|
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)
|
obj_data_dict['id'] = redis_lookup_id_random(record_id_random=obj_id, table_name=obj_type)
|
||||||
|
|||||||
Reference in New Issue
Block a user