Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xtsea authored Feb 12, 2025
1 parent d79ddaf commit 9c17e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion akenoai/runner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async def read_root():

@app.get("/test")
async def example_json():
async with _ran_dev.fasthttp().ClientSession() as session:
async with await _ran_dev.fasthttp().ClientSession() as session:
async with session.get("https://jsonplaceholder.typicode.com/todos/1") as response:
title = _ran_dev.dict_to_obj(await response.json()).title
return {"message": title}
Expand Down

0 comments on commit 9c17e42

Please sign in to comment.