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

@@ -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,