Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /fief-dev_fief /fief /repositories /audit_log.py
| from sqlalchemy import select | |
| from fief.models import AuditLog | |
| from fief.repositories.base import BaseRepository, UUIDRepositoryMixin | |
| class AuditLogRepository(BaseRepository[AuditLog], UUIDRepositoryMixin[AuditLog]): | |
| model = AuditLog | |
| async def get_latest(self) -> AuditLog | None: | |
| statement = select(AuditLog).order_by(AuditLog.timestamp.desc()).limit(1) | |
| return await self.get_one_or_none(statement) | |
Xet Storage Details
- Size:
- 428 Bytes
- Xet hash:
- 976cfaab778cb84a748f2d32b2dbd7f8c2c345cd6797e7e47d2132341dc029dd
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.