Appsync python client for consuming the graphql endpoint
Project description
appsync-client
Usage
def callback(client, userdata, msg):
#use the msg
pass
appsyncClient = AppSyncClient()
secretString = secretString.replace("\"","\\\"")
query = json.dumps({"query": "mutation {\n updateSecret(id:\""+secretId+"\",secretString:\""+secretString+"\") {\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.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5bb7c4941e4113c18ff8a7076f26baf8979fee9a64225034844f551ff9ff0d |
|
MD5 | 44f1463957f2c107660adb80c612ac32 |
|
BLAKE2b-256 | 37423a1d027a005b23a11a666122603be33d0508b8ffbb690e4a8e53b62a9414 |