User email look up improvement

This commit is contained in:
Scott Idem
2021-11-09 19:25:35 -05:00
parent 093cc3913b
commit 03aceae130
5 changed files with 31 additions and 7 deletions

View File

@@ -44,15 +44,15 @@ async def post_event_file_obj(
@router.patch('/{obj_id}', response_model=Resp_Body_Base)
async def patch_event_file_obj(
obj: Event_File_Base,
obj_id: str = Query(..., min_length=1, max_length=22),
obj_id: str = Query(..., min_length=11, max_length=22),
obj: Event_File_Base = None,
x_account_id: Optional[str] = Header(..., ),
return_obj: Optional[bool] = True,
by_alias: Optional[bool] = True,
exclude_unset: Optional[bool] = True,
response: Response = Response,
):
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
obj_type = 'event_file'