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

Allows queries such as `std.if_else(default.Foo, std.count(default.Foo) < 10, default.Bar)`.

Previously all results of `std.union(default.Foo, default.Bar)` would be decoded as `Foo`

When returning an object from a FastAPI endpoint using a `response_model` that contains an enum, you current will see an error like: ``` PydanticSerializationUnexpectedValue(Expected `enum` - serialized value may not...

Given a schema: ```edgeql function MaybeInt() -> optional int64 using (1); ``` Trying to query a call to the function: ```py result = self.client.query(default.MaybeInt()) ``` Fails typechecking with the error:...

bug
ORM

Using the orm_qb schema, the following code: ```py from models.orm_qb import default, std class Inh_A_WithComputed(default.Inh_A): n: std.int64 result = self.client.query(Inh_A_WithComputed) ``` Fails typecheck with: ``` error: Need type annotation for...

bug
ORM

Using the `orm_qb` schema, the following code: ```py from models.orm_qb import default, std class Inh_A_WithComputed(default.Inh_A): n: std.int64 result = self.client.query(Inh_A_WithComputed.select(n=lambda x: x.a + 1000)) ``` Will produce results like: ```py...

bug
ORM

Polymorphic types are not friendly to plain `*` splats, as those will only include the common fields. So when dealing with polymorphic types we need to be able to use...

ORM

Recursion should be possible: ```python p = default.LinearPath(label="singleton") p.next = p client.save(p) ``` I'm enabling it in the next PR, but the bigger question is model_dump. It would crash unable...

I used a computed link (which is actually a backlink) to fetch User and assotiated Group object. Then I used the actual forward `users` link on the Group object to...

bug

In EdgeQL we use the query shape to control what data is returned to us. The shape may introduce new computeds or hide existing fields. This, however, does not affect...