quivr/backend/models/brains_subscription_invitations.py

16 lines
272 B
Python
Raw Normal View History

from uuid import UUID
from logger import get_logger
from pydantic import BaseModel
logger = get_logger(__name__)
class BrainSubscription(BaseModel):
brain_id: UUID
email: str
rights: str = "Viewer"
class Config:
arbitrary_types_allowed = True