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.2.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d57ebd57619c611c61ee97095c6b94eaa1bcdf5fbb391682f8f6644fe29260c |
|
MD5 | c163625fdb4deb5ba8d2c2e751e40e1e |
|
BLAKE2b-256 | ea11620c8a2339df8f186e86d3138e8c7e8d075668e81c250734245917ef2d70 |