Unknown
This commit is contained in:
@@ -107,7 +107,7 @@ def get_event_file_rec_list(
|
|||||||
enabled: str = 'enabled', # enabled, disabled, all
|
enabled: str = 'enabled', # enabled, disabled, all
|
||||||
limit: int = 100,
|
limit: int = 100,
|
||||||
) -> list|bool:
|
) -> list|bool:
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
if for_id := redis_lookup_id_random(record_id_random=for_id, table_name=for_type): pass
|
if for_id := redis_lookup_id_random(record_id_random=for_id, table_name=for_type): pass
|
||||||
@@ -200,7 +200,7 @@ def load_event_file_obj_list(
|
|||||||
enabled: str = 'enabled', # enabled, disabled, all
|
enabled: str = 'enabled', # enabled, disabled, all
|
||||||
inc_hosted_file: bool = False,
|
inc_hosted_file: bool = False,
|
||||||
) -> list|bool:
|
) -> list|bool:
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
data: dict = {}
|
data: dict = {}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ def load_event_location_obj(
|
|||||||
exclude_unset: bool = True,
|
exclude_unset: bool = True,
|
||||||
model_as_dict: bool = False,
|
model_as_dict: bool = False,
|
||||||
) -> Event_Location_Base|bool:
|
) -> Event_Location_Base|bool:
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
if event_location_id := redis_lookup_id_random(record_id_random=event_location_id, table_name='event_location'): pass
|
if event_location_id := redis_lookup_id_random(record_id_random=event_location_id, table_name='event_location'): pass
|
||||||
@@ -215,7 +215,7 @@ def get_event_location_rec_list(
|
|||||||
hidden: str = 'not_hidden', # hidden, not_hidden, all
|
hidden: str = 'not_hidden', # hidden, not_hidden, all
|
||||||
limit: int = 100,
|
limit: int = 100,
|
||||||
) -> list|bool:
|
) -> list|bool:
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
if event_id := redis_lookup_id_random(record_id_random=event_id, table_name='event'): pass
|
if event_id := redis_lookup_id_random(record_id_random=event_id, table_name='event'): pass
|
||||||
@@ -292,7 +292,7 @@ def create_update_event_location_obj_v4(
|
|||||||
fail_any: bool = False, # Fail if any thing goes wrong for sub objects
|
fail_any: bool = False, # Fail if any thing goes wrong for sub objects
|
||||||
return_outline: bool = False,
|
return_outline: bool = False,
|
||||||
) -> int|bool:
|
) -> 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())
|
log.debug(locals())
|
||||||
|
|
||||||
log.info('Checking requirements...')
|
log.info('Checking requirements...')
|
||||||
|
|||||||
@@ -69,7 +69,6 @@ def load_event_session_obj(
|
|||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
|
||||||
log.debug(event_session_rec)
|
log.debug(event_session_rec)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@@ -91,7 +90,6 @@ def load_event_session_obj(
|
|||||||
if inc_event_device_list: pass
|
if inc_event_device_list: pass
|
||||||
|
|
||||||
if inc_event_file_list:
|
if inc_event_file_list:
|
||||||
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
|
||||||
log.info('Need to include event file list...')
|
log.info('Need to include event file list...')
|
||||||
|
|
||||||
from app.methods.event_file_methods import get_event_file_rec_list, load_event_file_obj
|
from app.methods.event_file_methods import get_event_file_rec_list, load_event_file_obj
|
||||||
@@ -150,7 +148,6 @@ def load_event_session_obj(
|
|||||||
if inc_event_person_list: pass
|
if inc_event_person_list: pass
|
||||||
|
|
||||||
if inc_event_presentation_list:
|
if inc_event_presentation_list:
|
||||||
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
|
||||||
log.info('Need to include event presentation list...')
|
log.info('Need to include event presentation list...')
|
||||||
|
|
||||||
data = {}
|
data = {}
|
||||||
@@ -221,10 +218,8 @@ def load_event_session_obj(
|
|||||||
log.debug(event_presentation_obj_li)
|
log.debug(event_presentation_obj_li)
|
||||||
event_session_obj.event_presentation_list = event_presentation_obj_li
|
event_session_obj.event_presentation_list = event_presentation_obj_li
|
||||||
else:
|
else:
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
|
||||||
log.debug(event_presentation_rec_li_result)
|
log.debug(event_presentation_rec_li_result)
|
||||||
event_session_obj.event_presentation_list = []
|
event_session_obj.event_presentation_list = []
|
||||||
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
|
||||||
|
|
||||||
if inc_event_presenter_cat:
|
if inc_event_presenter_cat:
|
||||||
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
@@ -243,8 +238,7 @@ def load_event_session_obj(
|
|||||||
log.debug(event_presenter_cat_rec_result.get('event_presenter_names', None))
|
log.debug(event_presenter_cat_rec_result.get('event_presenter_names', None))
|
||||||
event_session_obj.event_presenter_cat = event_presenter_cat_rec_result.get('event_presenter_names', None)
|
event_session_obj.event_presenter_cat = event_presenter_cat_rec_result.get('event_presenter_names', None)
|
||||||
else:
|
else:
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.warning(event_presenter_cat_rec_result)
|
||||||
log.debug(event_presenter_cat_rec_result)
|
|
||||||
event_session_obj.event_presenter_cat = None
|
event_session_obj.event_presenter_cat = None
|
||||||
|
|
||||||
if inc_event_presenter_list: pass
|
if inc_event_presenter_list: pass
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ async def get_event_device_obj(
|
|||||||
|
|
||||||
commons: Common_Route_Params = Depends(common_route_params),
|
commons: Common_Route_Params = Depends(common_route_params),
|
||||||
):
|
):
|
||||||
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
# ### SECTION ### Secondary data validation
|
# ### SECTION ### Secondary data validation
|
||||||
|
|||||||
Reference in New Issue
Block a user