code: def requests_session(self, *args, **kwargs):
          
          import requests
          auth1 = self.generate_auth()
          return requests.Session(*args, auth=auth1, **kwargs)
docs: Create :class:`requests.Session` that is authorized for the current
          user.
  
          `args` and `kwargs` are passed directly to :class:`requests.Session`