Added new route, methods, and models for data_store. Also minor code clean up and less debug.

This commit is contained in:
Scott Idem
2022-03-11 17:12:55 -05:00
parent 57e3298dc6
commit 90d7619966
8 changed files with 608 additions and 18 deletions

View File

@@ -136,7 +136,7 @@ async def download_event_file(
commons: Common_Route_Params = Depends(common_route_params),
):
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
@@ -192,7 +192,7 @@ async def get_event_file_obj(
exclude_unset: bool = True,
response: Response = Response,
):
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
if event_file_id := redis_lookup_id_random(record_id_random=event_file_id, table_name='event_file'): pass