edgedb / edgedb-python

The official Python client library for EdgeDB
https://edgedb.com
Apache License 2.0
368 stars 44 forks source link

Support the trio event loop #173

Open thedrow opened 3 years ago

thedrow commented 3 years ago

I'd very much would like to use this library but I use trio. Using AnyIO instead of asyncio directly would enable using both asyncio (with or without uvloop) and trio.

elprans commented 3 years ago

It should be doable. Even asyncpg was made compatible with trio (https://github.com/python-trio/triopg), and edgedb-python has significantly less magic.