Appsync python client for consuming the graphql endpoint
Project description
appsync-client
Usage
def callback(client, userdata, msg):
#use the msg
pass
appsyncClient = AppSyncClient()
query = json.dumps({"query": "mutation {\n updateSecret(id:\"1234\",secretString:\"sdfsdf\") {\n id\n secretString\n }\n}\n"})
response = appsyncClient.execute(region="us-east-2",url="https://..../graphql",method="POST",data=query,callback=callback)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
appsync-client-0.0.8.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 206d6217e14c9c6453f916a54419773a5ee1ca574a8086a26fc3358304002e7c |
|
MD5 | 97b061a24274ce9eb82872c35742ede9 |
|
BLAKE2b-256 | e865fb59d8fef20ce5c768da812c9821f9ebf72539b24728467c6566b94b3a53 |