Keep handlers are attribute in AutoProcessor
This commit is contained in:
parent
af2e0a2d41
commit
1e84b9d35e
1 changed files with 2 additions and 2 deletions
|
@ -424,9 +424,9 @@ class AutoProcessor():
|
||||||
:param events: the list of events to process
|
:param events: the list of events to process
|
||||||
:param kwargs: the kwargs to provide when instanciating EventHandler subclasses
|
:param kwargs: the kwargs to provide when instanciating EventHandler subclasses
|
||||||
"""
|
"""
|
||||||
handlers = self.get_applicable_event_handlers(events)
|
self.handlers = self.get_applicable_event_handlers(events)
|
||||||
Processor(
|
Processor(
|
||||||
*handlers,
|
*self.handlers,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
).process(events)
|
).process(events)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue