anatools.anaclient.api.introspection module

Introspection API calls.

getTypeFields(self, typeName)

Get all fields available for a specific GraphQL type.

Parameters

typeName (str) – The name of the GraphQL type to introspect

Returns

List of field names available on the specified type

getTypes(self)

Get the data types from the GraphQL schema.

Returns

A dictionary of data types from the GraphQL schema