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.9.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f01d5fde28e206196c221a2893526710c92eca8d05db162aebb67eb83fb4f810 |
|
MD5 | 760cf48f46a5decbb94c72fa27e8e36d |
|
BLAKE2b-256 | c79696c4f20146a13f2c708cd99937b7ad13a8f03d2a74747454e29b256aa758 |