Skip to content

Commit 55c1c83

Browse files
committed
Adding the ability to import through BufferedConsumer
1 parent d86ac5c commit 55c1c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mixpanel/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ class BufferedConsumer(object):
379379
when you're sure you're done sending them. calls to flush() will
380380
send all remaining unsent events being held by the BufferedConsumer.
381381
"""
382-
def __init__(self, max_size=50, events_url=None, people_url=None, request_timeout=None):
383-
self._consumer = Consumer(events_url, people_url, request_timeout)
382+
def __init__(self, max_size=50, events_url=None, people_url=None, import_url=None, request_timeout=None):
383+
self._consumer = Consumer(events_url, people_url, import_url, request_timeout)
384384
self._buffers = {
385385
'events': [],
386386
'people': [],

0 commit comments

Comments
 (0)