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.13.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c245c4ebb8b891c92711b4d93157404c4da340ee286674c02a6bc90530b122d |
|
MD5 | a216288fa09c0a53f0195ecf86b0b287 |
|
BLAKE2b-256 | 1d877194c41feec901cbd202633ec072713d8d3401865dea4f498a9c991abfbb |