Buckets:

download
raw
392 Bytes
from sqlalchemy import select
from fief.models import Theme
from fief.repositories.base import BaseRepository, UUIDRepositoryMixin
class ThemeRepository(BaseRepository[Theme], UUIDRepositoryMixin[Theme]):
model = Theme
async def get_default(self) -> Theme | None:
statement = select(Theme).where(Theme.default == True)
return await self.get_one_or_none(statement)

Xet Storage Details

Size:
392 Bytes
·
Xet hash:
462ca91b72a1b17df0746faa7856cae0a58908262f046a2441e4927c9d726d8d

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