- Changed authentication to use a gateway key - Moved handlers and models to their own files - Updated logger to syntax to use %s
11 lines
180 B
Python
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 |