code: def _get_all(self, record_type=None):
      for r in self._data:
          r_type = r.WhichOneof("record_type")
          if not record_type or r_type == record_type:
              if r_type:
                  r = getattr(r, r_type)
              yield r
  
file_path: wandb/tests/pytest_tests/unit_tests_old/utils/records.py
label_desc: Use image node_id 3 for calling the RecordsUtil obj's underlying member method code with example usage: obj._get_all(record_type) without return types