Skip to main content

alita-graphql is graphql extension for Alita。

Project description

alita-graphql

alita-graphql is graphql extension for Alita。

Installing

pip install alita-graphql

Quick Start

from alita import Alita
from alita_graphql import GraphQL

class Query(graphene.ObjectType):
    hello = graphene.String(description='A typical hello world')

    def resolve_hello(self, info):
        return 'World'


schema = graphene.Schema(query=Query)

app = Alita('dw')
GraphQL(schema).init_app(app)

Links

Project details


Download files

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

Source Distribution

alita-graphql-0.1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

alita_graphql-0.1.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page