Skip to content

Commit

Permalink
Fix mypy (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
Weves authored and yuhongsun96 committed Aug 25, 2023
1 parent e94bc34 commit 53e2950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/danswer/db/index_attempt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 53e2950

Please sign in to comment.