add extra recipe argument to YieldFilter __call__ method
This commit is contained in:
parent
86b819bd11
commit
36a1b5ec67
@ -55,7 +55,8 @@ class YieldFilter(Filter):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(YieldFilter, self).__init__()
|
super(YieldFilter, self).__init__()
|
||||||
|
|
||||||
def __call__(self, source):
|
def __call__(self, recipe, source):
|
||||||
|
self._recipe = recipe
|
||||||
for record in source:
|
for record in source:
|
||||||
for result in self.process_record(record):
|
for result in self.process_record(record):
|
||||||
yield result
|
yield result
|
||||||
|
Loading…
Reference in New Issue
Block a user