edgedb-python
edgedb-python copied to clipboard
The official Python client library for EdgeDB
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...
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...
Currently:  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...
* 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.