8000 GitHub - tdip/gql-subscriptions: A simple GQL python client that supports subscriptions
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tdip/gql-subscriptions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gql-subscriptions

A simple GQL python client that supports subscriptions

Sample usage:

from gql_async import Client

client = Client('ws://my_endpoint')

async for message in client.subscribe('subscription{...}'):
    do_something_with_message(message)

Messages will be provided as an instance of the ExcecutionResult class which comes from the "graphql-core" library.

About

A simple GQL python client that supports subscriptions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0