Skip to content
This repository was archived by the owner on Jun 11, 2018. It is now read-only.
This repository was archived by the owner on Jun 11, 2018. It is now read-only.

async_mode strange code #140

Description

@willmcgugan

I've been browsing the Client code and I came across a line in base.py that stands out.

        self.async_mode = (async_mode is True
                           or (defaults.ASYNC_MODE and async_mode is not False))

I'm guessing this is the intended effect?

    self.async_mode = defaults.ASYNC_MODE if async_mode is None else async_mode

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