Skip to content

Commit

Permalink
removed old typings
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-steinke committed May 13, 2024
1 parent 043740f commit 185b5c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vessim/sil.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from collections import defaultdict
from datetime import datetime, timedelta
from threading import Thread, Lock
from typing import Any, Optional, Callable, List, Tuple, Dict
from typing import Any, Optional, Callable
from bisect import bisect_left, bisect_right
import numpy as np
import time
Expand All @@ -31,12 +31,12 @@ class Broker:
def __init__(self, data_pipe_out: Connection, events_pipe_in: Connection):
self._data_pipe_out = data_pipe_out
self._events_pipe_in = events_pipe_in
self._microgrid_ts: List[Tuple[DatetimeLike, Microgrid]] = []
self._actor_infos_ts: List[Tuple[DatetimeLike, Dict]] = []
self._p_delta_ts: List[Tuple[DatetimeLike, float]] = []
self._e_delta_ts: List[Tuple[DatetimeLike, float]] = []
self._microgrid_ts: list[tuple[DatetimeLike, Microgrid]] = []
self._actor_infos_ts: list[tuple[DatetimeLike, dict]] = []
self._p_delta_ts: list[tuple[DatetimeLike, float]] = []
self._e_delta_ts: list[tuple[DatetimeLike, float]] = []
self._microgrid: Optional[Microgrid] = None
self._actor_infos: Dict[str, Dict] = {}
self._actor_infos: dict[str, dict] = {}
self._p_delta: float = 0
self._e_delta: float = 0
self._ts_lock: Lock = Lock()
Expand Down

0 comments on commit 185b5c1

Please sign in to comment.