mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-12 22:23:01 +02:00
Fix mypy (#331)
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user