tools/traffic_annotation/scripts/update_annotations_doc.py
def _to_all_bold(self):
    """Bold the unique_id, description, trigger, etc. in the tables to
    correspond exactly to the template."""
    # Get recent doc after all the substitutions with the annotations. At this
    # point, document has all the content.
    print("Finding everything to bold...")
    doc = self._get_doc_contents(self.destination_id)

    # the ranges to bold using the updateTextStyle request
    bold_ranges = generator_utils.find_bold_ranges(doc)
    reqs = []
    for i, (start_index, end_index) in enumerate(bold_ranges):
      if end_index > start_index:
        reqs.append(self._to_bold(start_index, end_index))
    self._perform_requests(reqs)
Bold the unique_id, description, trigger, etc. in the tables to
    correspond exactly to the template.
Bold the unique_id, description, trigger, etc. in the tables to
correspond exactly to the template.
Bold the unique_id description trigger etc . in the tables to correspond exactly to the template .
def _to_all_bold(self):
    print("Finding everything to bold...")
    doc = self._get_doc_contents(self.destination_id)
    bold_ranges = generator_utils.find_bold_ranges(doc)
    reqs = []
    for i, (start_index, end_index) in enumerate(bold_ranges):
      if end_index > start_index:
        reqs.append(self._to_bold(start_index, end_index))
    self._perform_requests(reqs)
def _to_all_bold ( self ) : print ( "Finding everything to bold..." ) doc = self . _get_doc_contents ( self . destination_id ) bold_ranges = generator_utils . find_bold_ranges ( doc ) reqs = [ ] for i , ( start_index , end_index ) in enumerate ( bold_ranges ) : if end_index > start_index : reqs . append ( self . _to_bold ( start_index , end_index ) ) self . _perform_requests ( reqs )
Bold the unique_id, description, trigger, etc.
Bold the unique_id description trigger etc .
"""Bold the unique_id, description, trigger, etc. in the tables to
    correspond exactly to the template.""" # Get recent doc after all the substitutions with the annotations. At this # point, document has all the content. # the ranges to bold using the updateTextStyle request
self