mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-08 16:05:32 +02:00
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user