edgedb-python icon indicating copy to clipboard operation
edgedb-python copied to clipboard

The official Python client library for EdgeDB

Results 146 edgedb-python issues
Sort by recently updated
recently updated
newest added

- Gel Version: 6.10+b9cb801 - Gel CLI Version: 6.10+b9cb801 - OS Version: Ubuntu 25.04 Schema: ``` module default { type Person { required name: str { constraint exclusive; } required...

bug

Add tests that check the number of queries and the objects updated when using sync. Todo: - checking timing - triggers and rewrites

If a field has a default value in the schema, we no longer need to pass it to the `insert` statement. In terms of Python models this means that the...

ORM

Given the schema: ```edgeql type Foo { val: tuple; }; ``` the following code fails the assertion ```py foo = default.Foo(val = ("x", [1, 2, 3])) self.client.save(foo) foo.val[1][0] = 9...

bug
ORM

``` q = default.GameSession.select( "*", players=True, ).filter( lambda g: std.array_agg(g.players.id) == std.array_agg(green.users.id) ) ``` fails at runtime with ``` File "/home/sully/src/e/edgedb-python/gel/_internal/_qb/_generics.py", line 300, in wrapper return attrval(*args, __operand__=self, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

Given a schema: ```edgeql type A { val: int64; }; ``` the following code: ```py original = default.A(val=1) self.client.save(original) mirror_1 = self.client.query_required_single( default.A.select(val=False).limit(1) ) mirror_2 = self.client.query_required_single( default.A.select(val=True).limit(1) ) original.val...

bug
ORM

Here's some custom code that could be a part of the auth integration: ```python @router.get("/auth/signin") async def auth_signin(response: fastapi.Response, redirect_to: str | None = None) -> str: """Start sign in...