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.3.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da00c69ffce7e8a8c3306c5cc04bddfb770246196a596b583d2b2e4b539ddf8f |
|
MD5 | b3d6273c30cf58f0439dcbde173f7df3 |
|
BLAKE2b-256 | 4cab3ec295b1e6d77715337d5ccd45fca8dc5f8243235bcca82fd5cc0cc7b4a2 |