FastAPI + Celery + Next.js + Postgres/Redis app with company monitoring, source collection, LLM-based change analysis, enrichment, and account security (Turnstile, escalating lockout, email verification).
21 lines
448 B
Python
21 lines
448 B
Python
from __future__ import annotations
|
|
|
|
import uuid
|
|
from datetime import datetime
|
|
from typing import Any
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class SnapshotResponse(BaseModel):
|
|
model_config = ConfigDict(from_attributes=True)
|
|
|
|
id: uuid.UUID
|
|
source_id: uuid.UUID
|
|
snapshot_type: str
|
|
hash: str
|
|
text_summary: str | None
|
|
structured_summary: dict[str, Any]
|
|
monitoring_run_id: uuid.UUID | None
|
|
created_at: datetime
|