Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jduerholt committed Nov 25, 2024
1 parent 6eefc33 commit 55668d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ The following snippet shows how to use the worker based candidate generation usi
``` python
import time

# create the proposal in the database
# create the proposal in the database
response = requests.post(url=f"{URL}/proposals", json=payload.model_dump(), headers=HEADERS)
id = json.loads(response.content)["id"]

# poll the state of the proposal
# poll the state of the proposal
def get_state(id:int):
return requests.get(url=f"{URL}proposals/{id}/state", headers=HEADERS).json()

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ uvicorn
fastapi
pytest
requests
tinydb
tinydb

0 comments on commit 55668d9

Please sign in to comment.