Work on event importing and related
This commit is contained in:
@@ -208,7 +208,7 @@ async def get_event_obj_li(
|
||||
# Working well as of 2021-06-30. Using as a template for other routes.
|
||||
@router.get('/event/{event_id}', response_model=Resp_Body_Base)
|
||||
async def get_event_obj(
|
||||
event_id: str = Query(..., min_length=1, max_length=22),
|
||||
event_id: str = Query(..., min_length=11, max_length=22),
|
||||
enabled: str = 'enabled', # enabled, disabled, all
|
||||
approved: str = 'all', # approve(d), not_approved, all
|
||||
hidden: str = 'not_hidden', # hidden, not_hidden, all
|
||||
@@ -270,7 +270,7 @@ async def get_event_obj(
|
||||
# inc_event_device_list = inc_event_device_list,
|
||||
# inc_event_exhibit_list = inc_event_exhibit_list,
|
||||
inc_event_file_list = inc_event_file_list,
|
||||
# inc_event_location = inc_event_location,
|
||||
inc_event_location = inc_event_location,
|
||||
inc_event_location_list = inc_event_location_list,
|
||||
# inc_event_person = inc_event_person,
|
||||
inc_event_person_list = inc_event_person_list,
|
||||
@@ -322,7 +322,7 @@ async def get_account_obj_event_list(
|
||||
# inc_event_device_list: bool = False,
|
||||
# inc_event_exhibit_list: bool = False,
|
||||
inc_event_file_list: bool = False,
|
||||
# inc_event_location: bool = False,
|
||||
inc_event_location: bool = False, # Currently only specific to an event_session
|
||||
inc_event_location_list: bool = False,
|
||||
# inc_event_person: bool = False,
|
||||
inc_event_person_list: bool = False,
|
||||
@@ -380,7 +380,7 @@ async def get_account_obj_event_list(
|
||||
# inc_event_device_list = inc_event_device_list,
|
||||
# inc_event_exhibit_list = inc_event_exhibit_list,
|
||||
inc_event_file_list = inc_event_file_list,
|
||||
# inc_event_location = inc_event_location,
|
||||
inc_event_location = inc_event_location,
|
||||
inc_event_location_list = inc_event_location_list,
|
||||
# inc_event_person = inc_event_person,
|
||||
inc_event_person_list = inc_event_person_list,
|
||||
|
||||
Reference in New Issue
Block a user