diff --git a/pettingzoo/utils/env.py b/pettingzoo/utils/env.py index 7bf3c3520..3889ee01e 100644 --- a/pettingzoo/utils/env.py +++ b/pettingzoo/utils/env.py @@ -1,7 +1,7 @@ from __future__ import annotations import warnings -from typing import Any, Generic, Iterable, Iterator, TypeVar +from typing import Any, Dict, Generic, Iterable, Iterator, TypeVar import gymnasium.spaces import numpy as np @@ -10,6 +10,12 @@ ActionType = TypeVar("ActionType") AgentID = TypeVar("AgentID") +# deprecated +ObsDict = Dict[AgentID, ObsType] + +# deprecated +ActionDict = Dict[AgentID, ActionType] + """ Base environment definitions