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

The official Python client library for EdgeDB

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

Schema: ```sdl module default { type Chat { content: str; } function insert_summary(chat_id: uuid, some_date: datetime) -> Chat using ( with chat := (select Chat filter .id = chat_id) select...

Using a partial "update" Pydantic model to directly update an existing Gel model using the Pydantic `model_copy` mechanism fails. ```python class FooUpdate(BaseModel): name: str = "Anonymous" def update_foo(client: gel.Client, foo_in:...

Schema: ```sdl module default { type Chat { content: str; } } ``` Python: ```python from models import default import gel import asyncio client = gel.create_async_client() async def main(): chat...

This is the current situation with `gel.ai` in Python. ```python db = gel.create_async_client() # WORKS: configuration (crashes if you insert it twice though) config_query = f""" configure current branch insert...

With the following query: ```python await client.query(Model.select().limit(1).offset(1)) ``` It generates the following EdgeQL: ```edgeql SELECT default::Model { } LIMIT 1 OFFSET 1 ``` Which returns the following query error: ```...

ORM

I am writing a custom EdgeQL query to get a `User` from a global, but I'm not able to actually instantiate the `User` pydantic model from the returned value of...

* Don't automatically `wait()` on `__exit__` if there was an error already * The automatic `wait()` can now trigger retry too