original_docstring: 
      Function to convert query rows to readable dictionary
      :param query: sqlalchemy query
      :return:
      
docstring: Function to convert query rows to readable dictionary
docstring_tokens: Function to convert query rows to readable dictionary
code: def convert_rows_to_dict(query) -> List[dict]:
      """
      Function to convert query rows to readable dictionary
      :param query: sqlalchemy query
      :return:
      """
      result = []
      for row in query:
          row_dict = row.__dict__
          row_dict.pop('_sa_instance_state')  # deleting orm object
          result.append(row_dict)
  
      return result
code_tokens: def convert_rows_to_dict ( query ) -> List [ dict ] : result = [ ] for row in query : row_dict = row . __dict__ row_dict . pop ( '_sa_instance_state' ) result . append ( row_dict ) return result
short_docstring: Function to convert query rows to readable dictionary
short_docstring_tokens: Function to convert query rows to readable dictionary
comment: """
      Function to convert query rows to readable dictionary
      :param query: sqlalchemy query
      :return:
      """$SEP$# deleting orm object