Skip to content

Commit

Permalink
cli: fix asyncio runner bug for 3.10 (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda authored Jun 27, 2024
1 parent 294426d commit cd670d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
name: "CLI integration test"
defaults:
Expand Down
2 changes: 1 addition & 1 deletion libs/cli/langgraph_cli/exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __exit__(self, *args):
pass

def run(self, coro):
asyncio.run(coro)
return asyncio.run(coro)

yield _Runner()

Expand Down

0 comments on commit cd670d9

Please sign in to comment.