Slow but steady progress to update all end points...
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import datetime
|
||||
#from datetime import datetime, time, timedelta
|
||||
from fastapi import APIRouter, Body, Depends, Header, HTTPException, Query, Response, status
|
||||
from fastapi import APIRouter, Body, Depends, Header, HTTPException, Path, Query, Response, status
|
||||
from pydantic import BaseModel, EmailStr, Field
|
||||
from typing import Dict, List, Optional, Set, Union
|
||||
|
||||
@@ -47,7 +47,7 @@ async def post_activity_log_obj(
|
||||
@router.patch('/activity_log/{activity_log_id}', response_model=Resp_Body_Base)
|
||||
async def patch_activity_log_obj(
|
||||
activity_log_obj: Activity_Log_Base,
|
||||
activity_log_id: str = Query(..., min_length=1, max_length=22),
|
||||
activity_log_id: str = Path(..., min_length=1, max_length=22),
|
||||
x_account_id: Optional[str] = Header(..., ),
|
||||
return_obj: Optional[bool] = True,
|
||||
by_alias: Optional[bool] = True,
|
||||
|
||||
Reference in New Issue
Block a user