Lots of changes to get to FastAPI 95.1
This commit is contained in:
@@ -21,7 +21,7 @@ router = APIRouter()
|
||||
# Updated 2022-01-04
|
||||
@router.get('/{obj_type}/{obj_id}/order/line/list', response_model=Resp_Body_Base)
|
||||
async def get_obj_id_order_line_list(
|
||||
obj_type: str = Query(..., min_length=4, max_length=25), # Expects account or order or person
|
||||
obj_type: str = Path(min_length=4, max_length=25), # Expects account or order or person
|
||||
obj_id: str = Path(min_length=11, max_length=22),
|
||||
from_datetime: datetime.datetime = None,
|
||||
to_datetime: datetime.datetime = None,
|
||||
|
||||
Reference in New Issue
Block a user