Returns a dict mapping ModuleIDs to 2-tuples of obs- and action space.
- Returns:
A dict mapping each ModuleID to a 2-tuple of the module’s observation
space and action space. SingleAgentEnvRunner and MultiAgentEnvRunner
also include the env’s own spaces under the "__env__" and
"__env_single__" keys.
- Return type:
Dict[str, Tuple[gymnasium.Space, gymnasium.Space]]