Code clean up and standardize

This commit is contained in:
Scott Idem
2021-08-25 10:58:39 -04:00
parent 7859d1d2b2
commit 1369874dc2
32 changed files with 479 additions and 195 deletions

View File

@@ -371,7 +371,7 @@ def update_event_presentation_obj_v3(
def update_event_presentation_obj(
event_presentation_id: int|str, # Ideally the int ID should be passed. This allows for updating of the id_random value.
event_presentation_obj_up: Event_Presentation_Base,
create_missing_obj: bool = False,
create_sub_obj: bool = False,
) -> bool:
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
@@ -395,7 +395,7 @@ def update_event_presentation_obj(
# if event_session_obj_up_result := update_event_session_obj(
# event_session_id=event_session_id,
# event_session_obj_up=event_session_obj_up,
# create_missing_obj=create_missing_obj,
# create_sub_obj=create_sub_obj,
# ):
# log.debug(event_session_obj_up_result)
# else: