def custom_filterset_factory(model, filterset_base_class=GrapheneFilterSet,
                             **meta):
    """ Create a filterset for the given model using the provided meta data
    """
    meta.update({
        'model': model,
    })
    meta_class = type(str('Meta'), (object,), meta)
    filterset = type(
        str(model._meta.object_name % '%sFilterSet'),
        (filterset_base_class,),
        {
            'Meta': meta_class
        }
    )
    return filterset
dataset/ETHPy150Open graphql-python/graphene/graphene/contrib/django/filter/filterset.py/custom_filterset_factory/swapped operands of `%`