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.4.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf825a4b4f68a3615af2420a6c73388feb19bff6090ca7506503f82eea610d56 |
|
MD5 | fbdb037ac1d65e99430912f9c237a7b4 |
|
BLAKE2b-256 | 5415dca01c0ad942d1253d8e4f0c3fc0525acd36f5a219f2b632182b663915a6 |