diff --git a/cogment_lab/core.py b/cogment_lab/core.py index 6089ce5..f333723 100644 --- a/cogment_lab/core.py +++ b/cogment_lab/core.py @@ -17,7 +17,7 @@ import abc import copy import logging -from typing import Awaitable, Callable, Generic, TypeVar +from typing import Awaitable, Callable, Dict, Generic, TypeVar import cogment import numpy as np @@ -30,14 +30,14 @@ Action = TypeVar("Action") -Actions = dict[str, Action] +Actions = Dict[str, Action] Observation = TypeVar("Observation") -Observations = dict[str, Observation] +Observations = Dict[str, Observation] -Rewards = dict[str, float] +Rewards = Dict[str, float] -Dones = dict[str, bool] +Dones = Dict[str, bool] class State: