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.11.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc58d06d5bc7b8dbb6df73a8575b3625c5aae64520dcb6dd069ad644c1dc250c |
|
MD5 | 9b98622e058f4516807723b969e75255 |
|
BLAKE2b-256 | eb4efdc07d547385095e10e890f1fe75de3066297272cd53ae761dfe31304b26 |