edgedb-python
edgedb-python copied to clipboard
The official Python client library for EdgeDB
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.
My understanding that switching from `fetchone` to `execute` should be seamless if you don't need the result. But it's not the case: ``` File "app.py", line 76, in login await...
In particular, if connection is used in both forks, it looks like this: ``` Error on request: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 323, in run_wsgi execute(self.server.app) File...
- [x] `edgedb.Tuple` is `tuple` * `weakref.ref()` will stop working on `edgedb.Tuple` objects. - [x] `edgedb.NamedTuple` is a subclass of `tuple` * Actual named tuple objects will be an instance...
See https://www.edgedb.com/docs/clients/python/api/blocking_client#edgedb.create_client But the client raises an error if you try to do it
The blocking sockets don't have active connection_lost() events, if the user is trying to execute a non-read-only query over a disconnected connection, is_closed() cannot capture the disconnection and the retry...
Please review individual commits. - [x] The `array`, `set`, `namedtuple` and `tuple` should support `__deepcopy__()` so that `dataclass.asdict()` could properly handle the `object` with such fields. - [ ] Add...
fixes https://github.com/edgedb/edgedb-python/issues/301
I don't have the time to build this out. You should look into using [Prisma Python](https://prisma-client-py.readthedocs.io/en/stable/) as the base for your client upgrade. Reaching out (via [Discord](https://discord.gg/NvWsDVj5)) and partnering with...
## Introduction Relevant to https://github.com/edgedb/edgedb/issues/4272 , having decorators for handling mutation and action triggers would be very beneficial for developers writing client-facing solutions with EdgeDB. These are only my thoughts...