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

for querying / filtering / casting -- the whole flow

1. We want to introspect a record the schema version into the generated `models/__init__.py` as `__gel_schema_version__` attribute. This way it's possible to build tooling that detects they diverge -- @elprans...

Right now codecs resolve distinct list types using the top-level type passed via `__edgeql__`. To make polymorphic links work we need to do that dynamically based on `__tid__`.

We are not unpacking JSON by default -- we should consider doing that. Pydantic supports JSON unpacking (partial & full), details here: https://docs.pydantic.dev/latest/concepts/json/#json-parsing ----------------- If we have this in the...

ORM

In EdgeQL we have several types that have elements access. The types `str`, `bytes`, `json` and any `array` have the indexing operator `[x]` and slicing `[a:b]`. These ideally should map...

ORM

Currently: ![Image](https://github.com/user-attachments/assets/8835bff8-363b-4a73-877a-5f098f68ae72) We want the signature to be as short as possible in the IDE ``` Something[str]=GoodName str | Unset=unset str | Unspecified=unspecified # we have a winner! str |...

We've discussed this multiple times, time to do it. `create_client()` and `create_async_client()` should create a client once upon the first call (one sync singleton and one async singleton respectively) and...

high priority

* The request body is handled depending on the `Content-Type` header in the request. * If no `Content-Type` header is found, the first type in `utils.OneOf()` will be assumed. *...

Tests for the various combinations of links and link props.