Skip to main content

Generate graphql schema.

Project description

Upload Python Package


pre-commit hook to generate .graphql | .json graphql schema for graphene-django.

As a pre-commit hook

See pre-commit for instructions

Sample basic .pre-commit-config.yaml

-   repo:
    rev: v0.1.0
      - id: graphene-django-hook
        stages: [commit]

Sample complex .pre-commit-config.yaml

-   repo:
    rev: v0.1.0
      - id: graphene-django-hook
        stages: [commit]
        args: [
          'project.settings'. # Defaults to: DJANGO_SETTINGS_MODULE
          '4' # See
          '--verbosity', # OR '-v'
          '2', # Set the verbosity level {0,1,2,3}

Project details

Download files

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

Files for graphene-django-hook, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size graphene_django_hook-1.0.0-py3-none-any.whl (2.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size graphene_django_hook-1.0.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page