Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /fief-dev_fief /fief /repositories /webhook_log.py
| import uuid | |
| from sqlalchemy import select | |
| from fief.models import WebhookLog | |
| from fief.repositories.base import BaseRepository, UUIDRepositoryMixin | |
| class WebhookLogRepository(BaseRepository[WebhookLog], UUIDRepositoryMixin[WebhookLog]): | |
| model = WebhookLog | |
| async def get_by_id_and_webhook( | |
| self, id: uuid.UUID, webhook: uuid.UUID | |
| ) -> WebhookLog | None: | |
| statement = select(WebhookLog).where( | |
| WebhookLog.id == id, WebhookLog.webhook_id == webhook | |
| ) | |
| return await self.get_one_or_none(statement) | |
Xet Storage Details
- Size:
- 553 Bytes
- Xet hash:
- 81c6c32f97e73b5fc7459b15f7fe028320d6841af6aa2175e5f323506bbbcb04
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.