Buckets:

download
raw
585 Bytes
from sqlmodel import Field, Relationship
from fastapi_fullauth.models.sqlmodel import (
RefreshTokenMixin,
RoleMixin,
UserMixin,
UserRoleMixin,
)
class RefreshToken(RefreshTokenMixin, table=True):
pass
class UserRole(UserRoleMixin, table=True):
pass
class Role(RoleMixin, table=True):
pass
class User(UserMixin, table=True):
display_name: str = Field(default="", max_length=100)
phone: str = Field(default="", max_length=20)
roles: list[Role] = Relationship(link_model=UserRole)
refresh_tokens: list[RefreshToken] = Relationship()

Xet Storage Details

Size:
585 Bytes
·
Xet hash:
3d08b5be9fd159eebeb5ebcfe57617ac255f863066ce7570c62fb4ae85316dba

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