Skip to content

bufferedconsumer _api_secret problem #91

Description

@sanderland

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions