nodes: 0, module; 1, function_definition; 2, function_name:list_completeness_index; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, default_parameter; 8, expression_statement; 9, expression_statement; 10, if_statement; 11, if_statement; 12, return_statement; 13, identifier:start; 14, None; 15, identifier:stop; 16, None; 17, comment:"""
          Reads completeness index records between the specified start and stop
          time.
  
          Each iteration returns a chunk of chronologically-sorted records.
  
          :rtype: ~collections.Iterable[.IndexGroup]
          """; 18, assignment; 19, comparison_operator:start is not None; 20, block; 21, comparison_operator:stop is not None; 22, block; 23, call; 24, identifier:params; 25, dictionary; 26, identifier:start; 27, None; 28, expression_statement; 29, identifier:stop; 30, None; 31, expression_statement; 32, attribute; 33, argument_list; 34, assignment; 35, assignment; 36, identifier:pagination; 37, identifier:Iterator; 38, keyword_argument; 39, keyword_argument; 40, keyword_argument; 41, keyword_argument; 42, keyword_argument; 43, keyword_argument; 44, subscript; 45, call; 46, subscript; 47, call; 48, identifier:client; 49, attribute; 50, identifier:path; 51, call; 52, identifier:params; 53, identifier:params; 54, identifier:response_class; 55, attribute; 56, identifier:items_key; 57, string; 58, identifier:item_mapper; 59, identifier:IndexGroup; 60, identifier:params; 61, string; 62, identifier:to_isostring; 63, argument_list; 64, identifier:params; 65, string; 66, identifier:to_isostring; 67, argument_list; 68, identifier:self; 69, identifier:_client; 70, attribute; 71, argument_list; 72, identifier:archive_pb2; 73, identifier:IndexResponse; 74, string_content:group; 75, string_content:start; 76, identifier:start; 77, string_content:stop; 78, identifier:stop; 79, string; 80, identifier:format; 81, attribute; 82, string_content:/archive/{}/completeness-index; 83, identifier:self; 84, identifier:_instance
code: def list_completeness_index(self, start=None, stop=None):
          """
          Reads completeness index records between the specified start and stop
          time.
  
          Each iteration returns a chunk of chronologically-sorted records.
  
          :rtype: ~collections.Iterable[.IndexGroup]
          """
          params = {}
          if start is not None:
              params['start'] = to_isostring(start)
          if stop is not None:
              params['stop'] = to_isostring(stop)
  
          return pagination.Iterator(
              client=self._client,
              path='/archive/{}/completeness-index'.format(self._instance),
              params=params,
              response_class=archive_pb2.IndexResponse,
              items_key='group',
              item_mapper=IndexGroup,
          )