def equals(column, name='id', function=(lambda x: x)):
    'Make filter template for filtering column values equal to value\n    transformed by given function.\n\n    :param column: database model\n    :param string name: name used in the filter template\n    :param callable function: function for transforming the value\n    :return dict: resulting template\n    '
    return {name: (column, operator.eq, function)}
Make filter template for filtering column values equal to value
transformed by given function.

:param column: database model
:param string name: name used in the filter template
:param callable function: function for transforming the value
:return dict: resulting template
def equals(column, name='id', function=(lambda x: x)):
    'Make filter template for filtering column values equal to value\n    transformed by given function.\n\n    :param column: database model\n    :param string name: name used in the filter template\n    :param callable function: function for transforming the value\n    :return dict: resulting template\n    '
    return {name: (column, operator.eq, function)}