

Api Wrapper for Carrier Infinity API using async in python, this was inspired by this guide to be a lightweight wrapper, with simple error handling.
a lot of this is based on https://my.carrier.com/.
to update schema add this to api_connection_graphql#authed_query
introspection_query = get_introspection_query(**session.client.introspection_args)
execution_result = await transport.execute(parse(introspection_query))
schema = dumps(execution_result.data, indent=2)
_LOGGER.debug(schema)
with open("schema.graphql", "w") as f:
f.write(schema)