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.6.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for appsync_client-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 134ebdf076a573172103409a33989f0dc98f555951274fdb251595d8338287f7 |
|
MD5 | 246f0a659c3d061e111ba6a8e88678d2 |
|
BLAKE2b-256 | f6374d8faaaf7e050999374ba3b5157494b9e5b63e24241f95e772302733c3a7 |