class_docstr: Record of spaces (i.e., raw action, observation, and associated data) from a single sub-step.
class_docstr_tok: ["Record","of","spaces","(","i.e.",",","raw","action",",","observation",",","and","associated","data",")","from","a","single","sub-step","."]
code: def __repr__(self):
      return (
          f"Spaces record (batch_shape={self.batch_shape}): Actor {self.actor_id}, "
          f"observation keys {list(self.observation.keys())}, "
          f"action keys {list(self.action.keys())}"
      )
  
file_path: maze/maze/core/trajectory_recording/records/spaces_record.py
imports: from dataclasses import dataclass
  from typing import Dict, Union, Optional, List, Any
  import numpy
  import torch
  from maze.core.env.structured_env import ActorID
  from maze.perception.perception_utils import convert_to_numpy, convert_to_torch
  from maze.train.utils.train_utils import stack_numpy_dict_list, stack_torch_dict_list
label_desc: Use image node_id 6 for calling the SpacesRecord obj's underlying member method code with example usage: obj.__repr__() and returns: str, self, str, self, str, list, str, list