class_docstr: This interface complements the StructuredEnv by action and observation spaces.
  
  StructuredEnv defines the logic and is usually implemented in the core env. In order to make it a complete,
  trainable env, the space definitions from this class are needed.
docstr: A dictionary of gym action spaces, with policy IDs as keys.
          
code: def action_spaces_dict(
      self,
  ) -> Dict[Union[int, str], gym.spaces.Dict]:
      """A dictionary of gym action spaces, with policy IDs as keys."""
  
file_path: maze/maze/core/env/structured_env_spaces_mixin.py
imports: from abc import abstractmethod, ABC
  from typing import Union, Dict
  import gym
label_desc: Use image node_id 3 for calling the StructuredEnvSpacesMixin obj's underlying member method code with example usage: obj.action_spaces_dict() without return types