Source code for gateway.models.decision
from pydantic import BaseModel
from pydantic.fields import Optional, Dict, Any, List
from gateway.models.dataset import Dataset
from gateway.models.filter import Filter
from gateway.models.mask import Mask
[docs]class Decision(BaseModel):
dataset: Optional[Dataset] = None
user: Optional[User] = None
masks: Optional[Dict[str, Mask]] = None
filter: Optional[List[Filter]] = None