Skip to content

Commit

Permalink
Merge pull request #3 from experimental-design/hotfix/linting
Browse files Browse the repository at this point in the history
Fix Linting
  • Loading branch information
jduerholt authored Nov 25, 2024
2 parents 5af95d5 + 55668d9 commit e16f640
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1,368 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
Loading

0 comments on commit e16f640

Please sign in to comment.