summaryrefslogtreecommitdiff
path: root/src/srht_contrib/schemas.py
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-11 18:45:54 -0500
committerChristian Cleberg <[email protected]>2026-04-11 18:45:54 -0500
commit01c1b50541b0dc1d42cbdaa90052f6b94ceba20c (patch)
tree5af4bd41d6497d4f49254690f97a39f387d7785b /src/srht_contrib/schemas.py
parentf0393a0b8d541df6b47bbeee6c4270ce8303bf18 (diff)
downloadhutch-stats-01c1b50541b0dc1d42cbdaa90052f6b94ceba20c.tar.gz
hutch-stats-01c1b50541b0dc1d42cbdaa90052f6b94ceba20c.tar.bz2
hutch-stats-01c1b50541b0dc1d42cbdaa90052f6b94ceba20c.zip
feat: prioritize recent-window backfill before full history
Diffstat (limited to 'src/srht_contrib/schemas.py')
-rw-r--r--src/srht_contrib/schemas.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/srht_contrib/schemas.py b/src/srht_contrib/schemas.py
index 6c77f6b..98d2a74 100644
--- a/src/srht_contrib/schemas.py
+++ b/src/srht_contrib/schemas.py
@@ -28,6 +28,9 @@ class ContributionIndexMetadata(BaseModel):
is_indexed: bool
last_polled_at: datetime | None = None
indexing_state: Literal["pending", "indexed", "error"]
+ is_recent_window_backfilled: bool = False
+ recent_backfill_state: Literal["pending", "in_progress", "completed", "error"] = "pending"
+ recent_backfill_completed_at: datetime | None = None
is_backfilled: bool = False
backfill_state: Literal["pending", "in_progress", "completed", "error"] = "pending"
backfill_completed_at: datetime | None = None