code: def signed_session(self, session=None):
          
          session = session or requests.Session()
          session.headers['Authorization'] = "Bearer {}".format(self.token)
  
          return session
docs: Sign requests session with the token. This method is called every time a request is going on the wire.
          The user is responsible for updating the token with the preferred tool/SDK.
          In general there are two options:
              - override this method to update the token in a preferred way and set Authorization header on session
              - not override this method, and have a timer that triggers periodically to update the token on this class
  
          The second option is recommended as it tends to be more performance-friendly.
  
          :param session: The session to configure for authentication
          :type session: requests.Session
          :rtype: requests.Session