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.7.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0931128ed01eec711902e839379d863e48ad9f853965b00fbff5bc1f9e433703 |
|
MD5 | ce31634737b55c5cc50875b1e9cfb07e |
|
BLAKE2b-256 | 87a049f181663f20ef3bd28ee7cca3aaddf1f6429aaf0a62950e8db01550d4e7 |