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.5.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 927997ea15aa83f7c1454a405b5a8f5a4d86d3c3e493ca5b6634ef44c7e34ea8 |
|
MD5 | 71beeceeb56042c0b769cf790ab58004 |
|
BLAKE2b-256 | d53d750921000a4988f5cc93a8492d619132010ed02f0456f08a05e7c676ce4c |