-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
loop.create_task()
for agent tasks (#598)
* Update agent.py to call loop.create_task rather than asyncio.Task Credit goes to @samtx for finding this solution for #175 (comment) * Update agent.py Co-authored-by: Sam Friedman <[email protected]> * Fix linting in agent.py * Update unit test to verify slurp is awaited * Update unit test to check awaitable task creation * Linting and formatting --------- Co-authored-by: William Barnhart <[email protected]> Co-authored-by: Sam Friedman <[email protected]>
- Loading branch information
1 parent
6588a97
commit 1f1f759
Showing
2 changed files
with
35 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters