diff --git a/pyproject.toml b/pyproject.toml index 171582f..7c1b30e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/furious/cli/commands/shell.py b/src/furious/cli/commands/shell.py index 5f25e45..79ce82c 100644 --- a/src/furious/cli/commands/shell.py +++ b/src/furious/cli/commands/shell.py @@ -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()))