Closed TomFaulkner closed 2 years ago
Thanks for the PR! I'm thinking we should probably do something like this instead:
async def my_query(
executor: edgedb.AsyncIOExecutor,
...
) -> MyQueryResult:
return await executor.query_single(...)
So that both AsyncIOClient
and AsyncIOIteration
(transaction) are supported.
Adds atomic transactions option to change client to transaction iteration.
This and similar for blocking: