Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jduerholt committed Nov 25, 2024
1 parent ab252c2 commit 2912b50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion app/routers/proposals.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def claim_proposal( # works
if len(dict_proposal) == 0:
raise HTTPException(status_code=404, detail="No proposals to claim")
proposal = Proposal(**dict_proposal[0])
# proposal.state = StateEnum.CLAIMED
db.update(
{"state": StateEnum.CLAIMED, "last_updated_at": datetime.datetime.now()},
doc_ids=[dict_proposal[0].doc_id],
Expand Down
4 changes: 1 addition & 3 deletions worker/__main__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import logging
import os

from client import Client

from worker import Worker
from worker import Client, Worker


LOG_LEVELS = {
Expand Down

0 comments on commit 2912b50

Please sign in to comment.