def METHOD_NAME(self):
    with self.__mgr.get_connection() as conn:
        for log_server, metadata in conn.execute(
            "SELECT log_server, metadata FROM logs"):
            yield self.__decode_log_metadata(log_server, metadata)