@access_token.setter
    def access_token(self, value):
        self._access_token = value
        if value:
            self.session.headers.update({'Authorization': 'Bearer ' +
                                         value})
        else:
            if 'Authorization' in self.session.headers:
                del self.session.headers['Authorization']
dataset/ETHPy150Open nylas/nylas-python/nylas/client/client.py/APIClient.access_token/original