FilterByGroup#
- class FilterByGroup(user_func, indices, pass_unparsed=False, **kwargs)#
Bases:
FilterManage a filter applied on specific groups.
The list of indices of those groups must be supplied at initialization to avoid having to find them at each validation from a more generic key.
- get_filter_func()#
Return filter function.
Wrap so the partial function is applied on every match specified by the
indicesandpass_unparsedattributes.
- reset()#
Reset the filter function and name if the group indices have changed.
- Return type:
None
- user_func: UserFuncGroup#
Initial function given by the user.