code: def interact(self, **local):
      
      import code
      code.interact(local=dict(sess=self, **local))
docs: Drops the user into an interactive Python session with the ``sess`` variable
      set to the current session instance. If keyword arguments are supplied, these
      names will also be available within the session.