Skip to content

Commit

Permalink
typehint compatible with Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
xkiixkii committed Aug 19, 2024
1 parent 977d7bc commit 746320a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deformable_gym/envs/mujoco/base_mjenv.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from abc import ABC, abstractmethod
from typing import Any, Optional, Tuple
from typing import Any, Dict, Optional, Tuple

import gymnasium as gym
import mujoco
Expand Down Expand Up @@ -88,7 +88,7 @@ def reset(
*,
seed: Optional[int] = None,
options: Optional[dict] = None,
) -> Tuple[NDArray[np.float64], dict[str, Any]]:
) -> Tuple[NDArray[np.float64], Dict[str, Any]]:
"""
Resets the environment to its initial state.
Expand Down

0 comments on commit 746320a

Please sign in to comment.