Skip to main content

graphql-limits

Features included:

Prerequisites

Installation

  • pip install graphql-limits

Usage example

query_string = '''
    query Test($first: Int) {
        viewer {
           books(first: $first) {
                author {
                    books(first: 4) {
                        author {
                            books(first: 100) {
                                author {
                                    id
                                }
                            }
                        }
                    }
                }
           }
        }
    }
'''
schema = graphene.Schema(query=Query)
backend = ProtectorBackend(nodes_limit=399, depth_limit=5, variable_values={'first': 2})
result = schema.execute(query_string, backend=backend, variable_values={'first': 2})

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphql-limits-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphql_limits-0.1.1-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file graphql-limits-0.1.1.tar.gz.

File metadata

  • Download URL: graphql-limits-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for graphql-limits-0.1.1.tar.gz
Algorithm Hash digest
SHA256 36c82b27af880395fbc514db2f11f51579e39d9309f6ff8f719b4e04be62986b
MD5 d90f7db217099bc70f3ea00cbe855ef1
BLAKE2b-256 4ad46d18ebae62b0a9a16e3e842837cb3cd3a7522c36359adfc7737d6e1a786e

See more details on using hashes here.

File details

Details for the file graphql_limits-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: graphql_limits-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for graphql_limits-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b39d7b9a56fd4a10cfbf845196f50c25fddd8ff5797e2897c44736928da2e70
MD5 bb30461dfec30db7ad6d53a8d8ae69a8
BLAKE2b-256 cadd2e1e06fdeb02d6d477da48f39a0fa0aae1aba18edcfb0d5b57155810a6c7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page