Buckets:

download
raw
663 Bytes
"""SQLModel model fixture for tests."""
from datetime import datetime
from typing import Optional
from sqlmodel import Field, SQLModel
class User(SQLModel, table=True):
__tablename__ = "users_sqlmodel"
id: Optional[int] = Field(default=None, primary_key=True)
name: str = Field(min_length=1, max_length=100)
email: str = Field(min_length=1, max_length=100, unique=True, index=True)
age: Optional[int] = Field(default=None, ge=0, le=150)
is_active: bool = True
created_at: datetime = Field(default_factory=datetime.utcnow)
updated_at: datetime = Field(default_factory=datetime.utcnow)
deleted_at: Optional[datetime] = None

Xet Storage Details

Size:
663 Bytes
·
Xet hash:
d3ae5d6f8c130c1699965c8e97749c2ec633ccbc28706e26a1a8288c6dee8631

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