from graphene import ObjectType, String, Schema


class ExampleQuery(ObjectType):
    hello = String()

    def resolve_hello(self):
        return "Hello"


class RootQuery(ExampleQuery, ObjectType):
    pass


schema = Schema(query=RootQuery)