mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
18 lines
519 B
Python
18 lines
519 B
Python
"""Table for storing JSONL lines that failed during post ingestion."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from sqlalchemy import Text
|
|
from sqlalchemy.orm import Mapped, mapped_column
|
|
|
|
from python.orm.data_science_dev.base import DataScienceDevTableBase
|
|
|
|
|
|
class FailedIngestion(DataScienceDevTableBase):
|
|
"""Stores raw JSONL lines and their error messages when ingestion fails."""
|
|
|
|
__tablename__ = "failed_ingestion"
|
|
|
|
raw_line: Mapped[str] = mapped_column(Text)
|
|
error: Mapped[str] = mapped_column(Text)
|