Skip to content

k8s-team/asynql

Repository files navigation

GraphQL logo


Build Status Coverage Status Documentation Status Python Version


asynql

Asyncio GraphQL client

Usage

from asynql import GQLModel

class Address(GQLModel):
    __one__ = 'address'
    __many__ = 'addresses'

    lat: float
    lon: float
    city: str
    line: str

We need __one__ and __many__ to be specified to customize query for one item or for many items.