Skip to content

Commit

Permalink
Merge pull request #270 from openedx/cag/backend
Browse files Browse the repository at this point in the history
fix: add backend_name parameter to EventBusRoutingBackend
  • Loading branch information
Ian2012 committed Mar 22, 2024
2 parents 38fc6fa + 90ac76e commit 68fb152
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion eventtracking/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""A simple event tracking library"""

__version__ = '2.3.0'
__version__ = '2.3.1'
4 changes: 4 additions & 0 deletions eventtracking/backends/event_bus.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ class EventBusRoutingBackend(RoutingBackend):
Event tracker backend for the event bus.
"""

def __init__(self, processors=None, backends=None, backend_name=''):
self.backend_name = backend_name
super().__init__(processors=processors, backends=backends)

def send(self, event):
"""
Send the tracking log event to the event bus by emitting the
Expand Down

0 comments on commit 68fb152

Please sign in to comment.