More improvement to Impexium API calls. Should be faster and more robust now.

This commit is contained in:
Scott Idem
2022-03-23 15:38:53 -04:00
parent 7c7bd3c530
commit c625cda845
5 changed files with 120 additions and 55 deletions

View File

@@ -98,6 +98,7 @@ def get_event_badge_template_id_w_event_id(
# ### BEGIN ### API Event Badge Methods ### create_update_event_badge_obj_v4() ###
# Updated 2022-02-23
@logger_reset
def create_update_event_badge_obj_v4(
event_badge_dict_obj: Event_Badge_Base|dict,
event_badge_id: int|str = None,
@@ -108,7 +109,7 @@ def create_update_event_badge_obj_v4(
fail_any: bool = False, # Fail if any thing goes wrong for sub objects
return_outline: bool = False,
) -> int|bool:
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
# ### SECTION ### Secondary data validation