Add charts
Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
parent
baad19f682
commit
6b2b4dc989
1 changed files with 160 additions and 90 deletions
13
good_ai/src/good_ai/good_ai/views/query.py
Normal file
13
good_ai/src/good_ai/good_ai/views/query.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from typing import List
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
from .filter import Filter
|
||||
from .sort_by import SortBy
|
||||
|
||||
|
||||
class Query(BaseModel):
|
||||
filter: List[Filter] = []
|
||||
sort: List[SortBy] = []
|
||||
skip: int = 0
|
||||
take: int = 100
|
||||
Loading…
Reference in a new issue