from threading import local
_LOCAL = local()


class ThreadLocalCredentials:

    def add(self, credentials):
        _LOCAL.credentials = credentials

    def authorize(self, http):
        return _LOCAL.credentials.authorize(http)

fb11d158ba2ced33bf302cd930f2deeafd2c7485
<mask token>


class ThreadLocalCredentials:

    def add(self, credentials):
        _LOCAL.credentials = credentials
    <mask token>

<mask token>


class ThreadLocalCredentials:

    def add(self, credentials):
        _LOCAL.credentials = credentials

    def authorize(self, http):
        return _LOCAL.credentials.authorize(http)

<mask token>
_LOCAL = local()


class ThreadLocalCredentials:

    def add(self, credentials):
        _LOCAL.credentials = credentials

    def authorize(self, http):
        return _LOCAL.credentials.authorize(http)

from threading import local
_LOCAL = local()


class ThreadLocalCredentials:

    def add(self, credentials):
        _LOCAL.credentials = credentials

    def authorize(self, http):
        return _LOCAL.credentials.authorize(http)
