7 Commits

Author SHA1 Message Date
J. Nick Koston
2bad648c61
chore: enable some more ruff rules (#414) 2025-03-06 12:49:12 -10:00
pre-commit-ci[bot]
e006a1e861
chore(pre-commit.ci): pre-commit autoupdate (#365)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 08:48:02 -10:00
J. Nick Koston
eda37061c4
chore: switch to ruff (#339)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 09:37:35 -10:00
David Lechner
d71f0e1fbd
use asyncio.run() in examples
calling `asyncio.get_running_loop()` will fail if there is no running event loop, so we should use `asyncio.run()` instead to create a new loop.

Also, use events for infinite waiting instead of futures since there is no return value.
2022-09-26 12:50:22 -05:00
David Lechner
691ff8e1bf
replace deprecated asyncio.get_event_loop()
`asyncio.get_event_loop()` was deprecated in Python 3.10, so we should use `asyncio.get_running_loop()` instead.
2022-09-26 12:43:56 -05:00
J. Nick Koston
36b08afbff chore: rename 2022-09-09 08:45:49 -05:00
J. Nick Koston
495bfac17f chore: initial port 2022-09-09 08:43:26 -05:00