code: def get_statusmsg(self) -> str:
          
          if self._last_status is None:
              return self._last_status
          return self._last_status.decode()
docs: Return the status of the executed command.
  
          Example::
  
              stmt = await connection.prepare('CREATE TABLE mytab (a int)')
              await stmt.fetch()
              assert stmt.get_statusmsg() == "CREATE TABLE"