INNER CODE UNIT · Python
response
gsmith257-cyber/GraphCrawler · clairvoyance/graphql.py:38
response = session.post(url, data=data, json=json, **kwargs)
return response
class Schema:
def __init__(
self,
queryType: str = None,
mutationType: str = None,
subscriptionType: str = None,
schema: Dict[str, Any] = None,
):
if schema:
self._schema = {
"directives": schema["data"]["__schema"]["directives"],
"mutationType": schema["data"]["__schema"]["mutationType"],
"queryType": schema["data"]["__schema"]["queryType"],