BufferedConsumer has this code:
# Fixme: Don't stick these in the instance.
self._api_key = api_key
self._api_secret = api_secret
Classes that override send without setting these instance vars, such as your recommended AsyncBufferedConsumer, end up generating an error in _flush_endpoint
This could be considered an error in the async package as well (cf jessepollak/mixpanel-python-async#18), but considering you have a FIXME here, I suppose a recent change broke the interaction.
BufferedConsumer has this code:
Classes that override send without setting these instance vars, such as your recommended AsyncBufferedConsumer, end up generating an error in
_flush_endpointThis could be considered an error in the async package as well (cf jessepollak/mixpanel-python-async#18), but considering you have a FIXME here, I suppose a recent change broke the interaction.