<filename>polecat/graphql/utils.py
from graphql.utilities.schema_printer import print_schema as schema_repr


def print_schema(schema):
    print(schema_repr(schema))


def get_model_class_from_info(info):
    return info.return_type._model

<filename>polecat/graphql/utils.py
from graphql.utilities.schema_printer import print_schema as schema_repr


def print_schema(schema):
    print(schema_repr(schema))


def get_model_class_from_info(info):
    return info.return_type._model
