parameters: (self, tokens)
return_statement: return True
docstring: Archive tokens.
  
          Args:
              tokens: The list of tokens to archive.
          Returns:
              True iff tokens have been successfully archived.
docstring_summary: Archive tokens.
docstring_tokens: Archive tokens .
function: def _archive_tokens(self, tokens):
          """Archive tokens.
  
          Args:
              tokens: The list of tokens to archive.
          Returns:
              True iff tokens have been successfully archived.
          """
          archive_request = ArchiveRequest(tokens=tokens)
          try:
              self._client.archive(archive_request)
          except TokenMasterException:
              # It's no big deal if the request failed this time - the same or a
              # different worker will try it again some other time.
              LOG.exception('error sending request %s', archive_request)
              return False
          return True
function_tokens: def _archive_tokens ( self , tokens ) : archive_request = ArchiveRequest ( tokens = tokens ) try : self . _client . archive ( archive_request ) except TokenMasterException : # It's no big deal if the request failed this time - the same or a # different worker will try it again some other time. LOG . exception ( 'error sending request %s' , archive_request ) return False return True