def internal_type(self, schema):
        type = None
        if callable(self.type):
            type = self.type(self.parent)
        elif isinstance(self.type, six.string_types):
            if self.is_self:
                type = self.parent
            else:
                type = schema.get_type(self.type)
        assert type, (self.type, self.parent) % 'Type in %s %r cannot be none'
        return schema.T(type)
dataset/ETHPy150Open graphql-python/graphene/graphene/core/types/base.py/LazyType.internal_type/swapped operands of `%`