mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-21 18:43:30 +02:00
Fix mypy (#331)
This commit is contained in:
@ -66,7 +66,7 @@ def mark_attempt_in_progress(
|
|||||||
db_session: Session,
|
db_session: Session,
|
||||||
) -> None:
|
) -> None:
|
||||||
index_attempt.status = IndexingStatus.IN_PROGRESS
|
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.add(index_attempt)
|
||||||
db_session.commit()
|
db_session.commit()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user