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.10.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69d2e71f6aefbd7b138172ce1d4a699378a3fce2260fad5d3f809944513a8095 |
|
MD5 | 3d970f0e4ee6d26a0d87a26c714fd655 |
|
BLAKE2b-256 | a3fdd5584ac0cf17f49c58c6c64095d23b933bfad4e1db385127315722897263 |