tools/traffic_annotation/scripts/update_annotations_doc.py
def update_doc(self, placeholders):
    """Updates the chrome version of the destination document and includes all
    the annotations within the grouping.xml file.

    Args:
        placeholders:
          Contains the order of the placeholders to construct template
    """
    self._docs_service = self._initialize_service(
      self._get_credentials(
        self._credentials_file_path, self._client_token_file_path))
    doc = self._get_doc_contents(self.destination_id)
    self._update_chrome_version(doc)
    self.index = self._clear_destination_contents(doc)
    self._insert_placeholders(placeholders)
    self._to_all_bold()

    if self.verbose:
      self._get_doc_contents(self.destination_id, save=True)

    print("Done, please review the document before sharing it with clients.")
Updates the chrome version of the destination document and includes all
    the annotations within the grouping.xml file.

    Args:
        placeholders:
          Contains the order of the placeholders to construct template
    
Updates the chrome version of the destination document and includes all
the annotations within the grouping.xml file.
Updates the chrome version of the destination document and includes all the annotations within the grouping . xml file .
def update_doc(self, placeholders):
    self._docs_service = self._initialize_service(
      self._get_credentials(
        self._credentials_file_path, self._client_token_file_path))
    doc = self._get_doc_contents(self.destination_id)
    self._update_chrome_version(doc)
    self.index = self._clear_destination_contents(doc)
    self._insert_placeholders(placeholders)
    self._to_all_bold()
    if self.verbose:
      self._get_doc_contents(self.destination_id, save=True)
    print("Done, please review the document before sharing it with clients.")
def update_doc ( self , placeholders ) : self . _docs_service = self . _initialize_service ( self . _get_credentials ( self . _credentials_file_path , self . _client_token_file_path ) ) doc = self . _get_doc_contents ( self . destination_id ) self . _update_chrome_version ( doc ) self . index = self . _clear_destination_contents ( doc ) self . _insert_placeholders ( placeholders ) self . _to_all_bold ( ) if self . verbose : self . _get_doc_contents ( self . destination_id , save = True ) print ( "Done, please review the document before sharing it with clients." )
Updates the chrome version of the destination document and includes all
the annotations within the grouping.xml file.
Updates the chrome version of the destination document and includes all the annotations within the grouping . xml file .
"""Updates the chrome version of the destination document and includes all
    the annotations within the grouping.xml file.

    Args:
        placeholders:
          Contains the order of the placeholders to construct template
    """
self
placeholders
Contains the order of the placeholders to construct template
Contains the order of the placeholders to construct template