|
def | __init__ (self, refiner_function=None) |
|
def | __get__ (self, harvesting_module, cls=None) |
|
def | __call__ (self, harvesting_module, crops=None, *args, **kwds) |
|
def | refine (self, harvesting_module, *args, **kwds) |
|
Python module to refine a peeled dictionary
Definition at line 34 of file refiners.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
refiner_function = None |
|
) |
| |
Constructor of the Refiner instance
Definition at line 37 of file refiners.py.
37 def __init__(self, refiner_function=None):
38 """Constructor of the Refiner instance"""
40 self.refiner_function = refiner_function
◆ __call__()
def __call__ |
( |
|
self, |
|
|
|
harvesting_module, |
|
|
|
crops = None , |
|
|
* |
args, |
|
|
** |
kwds |
|
) |
| |
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.
◆ __get__()
def __get__ |
( |
|
self, |
|
|
|
harvesting_module, |
|
|
|
cls = None |
|
) |
| |
Getter of the Refiner instance
Definition at line 42 of file refiners.py.
◆ refine()
def refine |
( |
|
self, |
|
|
|
harvesting_module, |
|
|
* |
args, |
|
|
** |
kwds |
|
) |
| |
Apply the instance's refiner function
Definition at line 69 of file refiners.py.
The documentation for this class was generated from the following file: