Buckets:

download
raw
538 Bytes
from __future__ import annotations
from datetime import datetime
from typing import Optional
from pydantic import BaseModel
from .common import EventType
class EventCreate(BaseModel):
school_id: str
team_id: Optional[str] = None
type: EventType = "Other"
title: Optional[str] = None
start_at: Optional[datetime] = None
end_at: Optional[datetime] = None
location: Optional[str] = None
notes: Optional[str] = None
class Config:
from_attributes = True
class EventRead(EventCreate):
id: str

Xet Storage Details

Size:
538 Bytes
·
Xet hash:
2df559bb29d94b6f4ae9ba67649b9c2d0862a1c17703c803d27400e3116115c3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.