'Fetches and returns the query traces for all query pages, if tracing was enabled.
See note in :meth:`~.get_query_trace` regarding possible exceptions.'

def get_all_query_traces(self, max_wait_per=None, query_cl=ConsistencyLevel.LOCAL_ONE):

    if self._query_traces:
        return [self._get_query_trace(i, max_wait_per, query_cl) for i in range(len(self._query_traces))]
    return []
