Graphene Sql Alchemy Optmizer
(WIP) inspired by https://github.com/tfoxy/graphene-django-optimizer
Uses graphql schema to generate efficient database access using sql alchemy joins
install
pip install graphene_sa_optimizer
How to use
from graphene_sa_optimizer import get_optimized_options
# This will generate all our options
# to optimize this query and
# pass those optimizations into our query
query.options(*get_optimized_options(ModelClass, info))
Setup for dev
- Install
pipenv - run
pipenv install - run
pipenv shell - run
pytest
Metadata
Release files for graphene-sa-optimizer 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| graphene_sa_optimizer-0.0.5.tar.gz | 3.2 kB | Details |
Release files / graphene_sa_optimizer-0.0.5.tar.gz
| Download URL | graphene_sa_optimizer-0.0.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a8baaef3f027bfdbe84c579f8354ac31add375978354bfe9c1e56dba27d4075
|
|
BLAKE2b-256 checksum How to use checksums |
7cf8918ce255c33570451036e8250944229c15677acc8e26c843e872094bb040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |