original_docstring:  This method takes input text to execute in database.
          returns output as dict
          
docstring: This method takes input text to execute in database.
  returns output as dict
docstring_tokens: This method takes input text to execute in database . returns output as dict
code: def executeText(self, text=None):
          ''' This method takes input text to execute in database.
          returns output as dict
          '''
          sqlOutput = dict()
          try:
              with self.conn:    
                  cur = self.conn.cursor() 
                  rows = cur.execute(text).fetchall()
                  logger.debug("cur.description: %s",cur.description) 
                  for idx, item in enumerate(rows):
                      sqlOutput[idx] = item
          except Exception as e:
              logger.error(e, exc_info=True)
              self.conn.rollback()
              raise e
          return sqlOutput
code_tokens: def executeText ( self , text = None ) : sqlOutput = dict ( ) try : with self . conn : cur = self . conn . cursor ( ) rows = cur . execute ( text ) . fetchall ( ) logger . debug ( "cur.description: %s" , cur . description ) for idx , item in enumerate ( rows ) : sqlOutput [ idx ] = item except Exception as e : logger . error ( e , exc_info = True ) self . conn . rollback ( ) raise e return sqlOutput
short_docstring: This method takes input text to execute in database.
short_docstring_tokens: This method takes input text to execute in database .
comment: ''' This method takes input text to execute in database.
          returns output as dict
          '''