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

@@ -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,