Lots of changes to get to FastAPI 95.1

This commit is contained in:
Scott Idem
2024-04-26 15:15:37 -04:00
parent f4eda34035
commit faecd974b9
38 changed files with 78 additions and 79 deletions

View File

@@ -98,8 +98,8 @@ async def get_page_obj_li(
# Updated 2021-08-20
@router.get('/alias/{alias}', response_model=Resp_Body_Base)
async def get_page_obj_alias(
alias: str = Path(min_length=1, max_length=255),
account_id: str = Query(..., min_length=1, max_length=22),
alias: str = Query(..., min_length=1, max_length=255),
enabled: str = 'enabled',
x_account_id: str = Header(...),
by_alias: Optional[bool] = True,