Lots of changes to get to FastAPI 95.1
This commit is contained in:
@@ -285,7 +285,7 @@ async def patch_event_session_obj(
|
||||
@router.patch('/event/session/{event_session_id}/json', response_model=Resp_Body_Base)
|
||||
async def patch_event_session_json(
|
||||
event_session_obj: Event_Session_Base,
|
||||
event_session_id: str = Query(..., min_length=1, max_length=22),
|
||||
event_session_id: str = Path(min_length=11, max_length=22),
|
||||
create_sub_obj: bool = False,
|
||||
x_account_id: Optional[str] = Header(..., ),
|
||||
return_obj: Optional[bool] = True,
|
||||
@@ -621,8 +621,7 @@ async def get_event_event_session_obj_li(
|
||||
# Updated 2021-09-21
|
||||
@router.get('/event/{event_id}/session/search', response_model=Resp_Body_Base)
|
||||
async def search_event_session_obj_li(
|
||||
# account_id: str = Query(None, min_length=11, max_length=22),
|
||||
event_id: str = Query(None, min_length=11, max_length=22),
|
||||
event_id: str = Path(min_length=11, max_length=22),
|
||||
event_session_id: str = Query('%', max_length=22),
|
||||
event_session_code: str = Query('%', max_length=50),
|
||||
event_session_name: str = Query('%', max_length=50),
|
||||
|
||||
Reference in New Issue
Block a user