- fill=fill,
- one_hot_discrete=one_hot_discrete,
- hanging_val=hanging_val,
- extra_model_outputs_key=extra_model_outputs_key,
- )
- if agent_value is not None:
- ret2[agent_id] = agent_value
- ret.append(ret2)
- return ret
- def _get_data_by_env_steps(
- self,
- *,
- what: str,
- indices: Union[int, slice, List[int]],
- agent_ids: Collection[AgentID],
- neg_indices_left_of_zero: bool = False,
- fill: Optional[Any] = None,
- one_hot_discrete: bool = False,
- extra_model_outputs_key: Optional[str] = None,
- ) -> MultiAgentDict: