Fix window_start (#4689)

* Fix window_start

* Add comment
This commit is contained in:
Chris Weaver
2025-05-11 17:11:20 -07:00
committed by GitHub
parent 913f7cc7d4
commit b19515e25d
5 changed files with 183 additions and 36 deletions

View File

@@ -163,6 +163,8 @@ class IndexAttemptSnapshot(BaseModel):
full_exception_trace: str | None
time_started: str | None
time_updated: str
poll_range_start: datetime | None = None
poll_range_end: datetime | None = None
@classmethod
def from_index_attempt_db_model(
@@ -184,6 +186,8 @@ class IndexAttemptSnapshot(BaseModel):
else None
),
time_updated=index_attempt.time_updated.isoformat(),
poll_range_start=index_attempt.poll_range_start,
poll_range_end=index_attempt.poll_range_end,
)