Source code for gateway.models.data_policy

from pydantic import BaseModel
from pydantic.fields import List

from gateway.models.policy import Policy


[docs]class DataPolicy(BaseModel): actions: List[str] priority: int condition: str mask: bool filter: bool name: str version: str type: str tags: List[str] description: str owner: str layer: str policy: Policy