code: def stop(self):
          
          temp_archive = self.sdk.stop_archive(self.id)
          for k,v in iteritems(temp_archive.attrs()):
              setattr(self, k, v)
docs: Stops an OpenTok archive that is being recorded.
  
          Archives automatically stop recording after 120 minutes or when all clients have
          disconnected from the session being archived.