Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.44 KB

File metadata and controls

31 lines (19 loc) · 1.44 KB

Qlient Core: Python GraphQL Client Core Library

DeepSource DeepSource pypi versions license codestyle

This is the core for a blazingly fast and modern graphql client that was designed with simplicity in mind.

Help

See the documentation for more details.

Quick Preview

from qlient.core import Client, Backend, GraphQLResponse


class MyBackend(Backend):
    """Must be implemented by you"""


client = Client(MyBackend())

res: GraphQLResponse = client.query.get_my_thing("name")

print(res.request.query)  # "query get_my_thing { get_my_thing { name } }"