original_docstring: 
          Generator to yield chunks from cursor
          :param cursor:
          :param chunk_size:
          :return:
          
docstring: Generator to yield chunks from cursor
docstring_tokens: Generator to yield chunks from cursor
code: def yield_rows(self, cursor, chunk_size):
          """
          Generator to yield chunks from cursor
          :param cursor:
          :param chunk_size:
          :return:
          """
          chunk = []
          for i, row in enumerate(cursor):
              if i % chunk_size == 0 and i > 0:
                  yield chunk
                  del chunk[:]
              chunk.append(row)
          yield chunk
code_tokens: def yield_rows ( self , cursor , chunk_size ) : chunk = [ ] for i , row in enumerate ( cursor ) : if i % chunk_size == 0 and i > 0 : yield chunk del chunk [ : ] chunk . append ( row ) yield chunk
short_docstring: Generator to yield chunks from cursor
short_docstring_tokens: Generator to yield chunks from cursor
comment: """
          Generator to yield chunks from cursor
          :param cursor:
          :param chunk_size:
          :return:
          """