Working version

This commit is contained in:
Eden Kirin
2023-08-27 11:08:14 +02:00
parent 9faca36ce1
commit eb37f09a44
6 changed files with 175 additions and 6 deletions

10
app/lib/filters.py Normal file
View File

@ -0,0 +1,10 @@
from dataclasses import dataclass
from typing import Generic, TypeVar
T = TypeVar("T")
@dataclass
class ExactFilter(Generic[T]):
field_name: str
value: T