TH01_maintenance/app/models.py
2026-05-30 23:30:55 +08:00

21 lines
430 B
Python

from __future__ import annotations
from dataclasses import dataclass
from typing import Any
@dataclass(frozen=True)
class RawItem:
source: str
source_item_id: str
source_url: str
content_type: str
author_id: str | None
author_name: str | None
title: str | None
published_at: int | None
published_at_text: str | None
updated_at_source: int | None
content: str
raw: dict[str, Any]