from __future__ import annotations from datetime import datetime from pydantic import BaseModel, ConfigDict class InterceptLogItem(BaseModel): model_config = ConfigDict(from_attributes=True) id: int token_display: str bound_ip: str attempt_ip: str alerted: bool intercepted_at: datetime class LogListResponse(BaseModel): items: list[InterceptLogItem] total: int page: int page_size: int