mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-28 13:05:26 -05:00
* Added API params to order by different properties * fix for incorrect var name * removed invalid default order_by * implemented fallback for invalid user input
11 lines
216 B
Python
11 lines
216 B
Python
from typing import Optional
|
|
|
|
from mealie.schema._mealie import MealieModel
|
|
|
|
|
|
class GetAll(MealieModel):
|
|
start: int = 0
|
|
limit: int = 999
|
|
order_by: Optional[str]
|
|
order_descending: Optional[bool] = True
|