This commit is contained in:
Chris Weaver
2023-08-24 12:23:04 -07:00
committed by GitHub
parent 81d2226b5f
commit 8976ed3bcd

View File

@ -66,7 +66,7 @@ def mark_attempt_in_progress(
db_session: Session,
) -> None:
index_attempt.status = IndexingStatus.IN_PROGRESS
index_attempt.time_started = index_attempt.time_started or func.now()
index_attempt.time_started = index_attempt.time_started or func.now() # type: ignore
db_session.add(index_attempt)
db_session.commit()