![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, wrapped_refiner, by=None, exclude_by=None) | |
| refine (self, harvesting_module, crops, groupby_part_name=None, groupby_value=None, *args, **kwds) | |
| __get__ (self, harvesting_module, cls=None) | |
| __call__ (self, harvesting_module, crops=None, *args, **kwds) | |
Public Attributes | |
| wrapped_refiner = wrapped_refiner | |
| cached value of the wrapped refiner | |
| by = by | |
| cached value of the group-by classifier | |
| bool | exclude_by = exclude_by if exclude_by is not None else self.default_exclude_by |
| cached value of the exclude-by classifier | |
| refiner_function = refiner_function | |
| cached copy of the instance's refiner function | |
Static Public Attributes | |
| bool | default_exclude_by = True |
| default value of the exclude-by classifier | |
Refiner for grouping
Definition at line 939 of file refiners.py.
| __init__ | ( | self, | |
| wrapped_refiner, | |||
| by = None, | |||
| exclude_by = None ) |
Constructor for this refiner
Definition at line 945 of file refiners.py.
|
inherited |
implementation of the function-call of the Refiner instance
r = Refiner()
r(harvester) # decoration
r(harvester, crops, args, keywords) # refinement
Definition at line 55 of file refiners.py.
|
inherited |
Getter of the Refiner instance
Definition at line 42 of file refiners.py.
| refine | ( | self, | |
| harvesting_module, | |||
| crops, | |||
| groupby_part_name = None, | |||
| groupby_value = None, | |||
| * | args, | ||
| ** | kwds ) |
Process this grouping
Reimplemented from Refiner.
Definition at line 959 of file refiners.py.
| by = by |
cached value of the group-by classifier
Definition at line 955 of file refiners.py.
|
static |
default value of the exclude-by classifier
Definition at line 943 of file refiners.py.
| bool exclude_by = exclude_by if exclude_by is not None else self.default_exclude_by |
cached value of the exclude-by classifier
Definition at line 957 of file refiners.py.
|
inherited |
cached copy of the instance's refiner function
Definition at line 40 of file refiners.py.
| wrapped_refiner = wrapped_refiner |
cached value of the wrapped refiner
Definition at line 953 of file refiners.py.