Updated event location related. General code clean up and updates.
This commit is contained in:
@@ -136,11 +136,12 @@ async def patch_event_location_obj_exist_v4(
|
||||
|
||||
|
||||
# ### BEGIN ### API Event Location ### get_event_location_obj() ###
|
||||
# Updated 2021-10-09
|
||||
# Updated 2022-09-23
|
||||
@router.get('/event/location/{event_location_id}', response_model=Resp_Body_Base)
|
||||
async def get_event_location_obj(
|
||||
event_location_id: str = Query(..., min_length=11, max_length=22),
|
||||
inc_event_file_list: bool = False,
|
||||
inc_event_file_internal_use_list: bool = False,
|
||||
inc_event_presentation_list: bool = False,
|
||||
inc_event_presenter_list: bool = False,
|
||||
inc_event_session_list: bool = False,
|
||||
@@ -162,6 +163,7 @@ async def get_event_location_obj(
|
||||
if event_location_obj := load_event_location_obj(
|
||||
event_location_id = event_location_id,
|
||||
inc_event_file_list = inc_event_file_list,
|
||||
inc_event_file_internal_use_list = inc_event_file_internal_use_list,
|
||||
inc_event_presentation_list = inc_event_presentation_list,
|
||||
inc_event_presenter_list = inc_event_presenter_list,
|
||||
inc_event_session_list = inc_event_session_list,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user