Updated event location related. General code clean up and updates.

This commit is contained in:
Scott Idem
2022-09-23 18:31:17 -04:00
parent d2d6136bc4
commit a56a4b9647
7 changed files with 47 additions and 16 deletions

View File

@@ -462,7 +462,7 @@ async def get_event_session_obj_li(
# ### BEGIN ### API Event Session ### get_event_session_obj() ###
# Updated 2021-09-28
# Updated 2022-09-23
@router.get('/event/session/{event_session_id}', response_model=Resp_Body_Base)
async def get_event_session_obj(
event_session_id: str = Query(..., min_length=11, max_length=22),
@@ -485,13 +485,13 @@ async def get_event_session_obj(
inc_event_presenter_list: bool = False,
inc_event_registration_list: bool = False,
inc_event_track: bool = False,
inc_file_count: bool = False, # NOTE: file counts are from separate views
inc_poc_event_person: bool = False,
inc_person: bool = False, # Under event_person
inc_user: bool = False, # Under event_person
review: str = 'ready', # ready, not_ready, all
approved: str = 'approved', # approved, not_approved, all
hidden: str = 'not_hidden', # hidden, not_hidden, all
inc_file_count: bool = False, # NOTE: file counts are from separate views
x_account_id: str = Header(...),
by_alias: Optional[bool] = True,
exclude_unset: Optional[bool] = True,