code: def __init__(self, queue: "Queue") -> None:
      self.records = []
      while not queue.empty():
          self.records.append(queue.get())
  
file_path: wandb/tests/pytest_tests/unit_tests/conftest.py
imports: from queue import Queue
  from typing import Callable, Dict, Generator, List
  import pytest
label_desc: Use image node_id 1 to create a new RecordsUtil object  with example: obj = RecordsUtil(queue)