def __init__(self, detail=None, value=None, valid_operators=('eq', 'lt', 'lte', 'gt', 'gte', 'contains', 'icontains')):
        if value and not detail:
            valid_operators = ', '.join(valid_operators)
            detail = "Value '{0}' is not a supported filter operator; use one of {1}.".format(
                value,
                valid_operators
            )
        super(InvalidFilterOperator, self).__init__(detail=detail, parameter='filter')
dataset/ETHPy150Open CenterForOpenScience/osf.io/api/base/exceptions.py/InvalidFilterOperator.__init__/original