Files
backend-pull-notifications/src/models.py
T
florian 6475ce9e67 - Updated path to use the new layout
- Changed authentication to use a gateway key
- Moved handlers and models to their own files
- Updated logger to syntax to use %s
2026-11-05 21:55:33 +01:00

11 lines
180 B
Python

from pydantic import BaseModel, Field
class PullRequest(BaseModel):
user_id: int = Field(gt=0)
class PullResponse(BaseModel):
messages: list[dict]
count: int
has_more: bool