Skip to content

Commit

Permalink
Change dict to Dict (temporary?)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedTachyon committed Feb 7, 2024
1 parent 2e84f6f commit 3bfe16c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cogment_lab/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 3bfe16c

Please sign in to comment.