gino
gino copied to clipboard
GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core.
Currently, Gino is overriding an asyncpg connection host, port, user, password, database settings before passing them to the [connection pool](https://github.com/python-gino/gino/blob/master/src/gino/dialects/asyncpg.py#L247). In addition url params are not passed to the connection...
Adds a class method 'get_pydantic_model' to the base Model class that introspects the class to provide a pydantic model. Questions that still need answers/feedback: * Do we have enough context...
Locator instance builds unnecessary query for each row when the model is loaded from a database, to my mind, it is better to create an instance of the locator/UpdateRequest lazily...
**Context:** [This discussion topic](https://github.com/python-gino/gino/discussions/766) has most (if not all) the context. It boils down to the following: When instantiating an instance of Gino via the API (when using something like...
Closes #730
based on #702, refs #691, a hacky fix Honestly, Gino doesn't have to support table creation/deletion, as this can go farther, like requests of async version of Alembic, though it...
Fixes #412 * `before_cursor_execute()` and `after_cursor_execute()` is untouched - maybe we can create new events for `async_execute()` if needed by someone. * @wwwjfy any comments about the buggy `rowcount` please?...
SubqueryLoader is used to load Models from sqlalchemy aliased queries, opposite of #326 which works only on aliased gino Models Common usecase for this loader will be - when you...
When using TupleLoader with complex query like: (ModelOne.distinct(ModelOne.id).load(...=ModelTwo.distinct...), CustomLoader(query.column_name)) result is incorrect, becase, it assumes that all rows results from each loader are distinct which is not always true
* GINO version: 1.0.1 * Python version: 3.8 * asyncpg version: 0.21.0 * aiocontextvars version: 0.2.2 * PostgreSQL version: 10.14 ### Description My task is create some database record (via...