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.12.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 373cf4fbcbbd9ce568f8128f404cc05f4357739cbe3daad34625bba6edce3f1e |
|
MD5 | 9623b5712247d1db187f079eb12944e8 |
|
BLAKE2b-256 | eeb986888b6b7a50bb15abae26149871509727e4cd82830c2f2d72ba72d7f8a3 |