Skip to content

Commit

Permalink
Merge pull request #3 from serhii-karelov/pt-fixes
Browse files Browse the repository at this point in the history
Pt fixes
  • Loading branch information
serhii-karelov authored Nov 6, 2024
2 parents ad43b4b + e704ede commit 7047627
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
version = "0.0.1"
version = "0.0.2"
name = "furious-api"
description = "From FastAPI to Fast-and-furiousAPI"
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion src/furious/cli/commands/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def embed_ptpython(app):

async def start():
async with LifespanManager(app):
return embed()
embed_result = await embed(return_asyncio_coroutine=True)
return embed_result

sys.exit(asyncio.run(start()))

Expand Down

0 comments on commit 7047627

Please sign in to comment.