class_docstr: Holds structured spaces records (i.e., raw actions and observations recorded during a rollout). 
docstr: Convenience access to all structured action dicts from this trajectory.
          
docstr_tok: ["Convenience","access","to","all","structured","action","dicts","from","this","trajectory","."]
code: def actions(self) -> List[List[Union[ActionType, TorchActionType]]]:
      """Convenience access to all structured action dicts from this trajectory."""
      return [step_record.actions for step_record in self.step_records]
  
imports: from typing import List, Optional, Any, TypeVar, Generic, Dict, Union
  import numpy
  from maze.core.env.action_conversion import ActionType, TorchActionType
  from maze.core.rendering.renderer import Renderer
  from maze.core.trajectory_recording.records.state_record import StateRecord
  from maze.core.trajectory_recording.records.structured_spaces_record import StructuredSpacesRecord, StepKeyType
label_desc: Use image node_id 4 for calling the SpacesTrajectoryRecord obj's underlying member method code with example usage: obj.actions() and returns: unknown