Skip to content

Commit

Permalink
type this
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Sep 22, 2023
1 parent 288a60b commit fb2fe00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self, port: int, should_log: bool, frequency: float, decimation: Op
self.decimation = decimation


services = {
services: dict[str, tuple] = {
# service: (should_log, frequency, qlog decimation (optional))
# note: the "EncodeIdx" packets will still be in the log
"gyroscope": (True, 104., 104),
Expand Down Expand Up @@ -96,7 +96,7 @@ def __init__(self, port: int, should_log: bool, frequency: float, decimation: Op
"livestreamRoadEncodeData": (False, 20.),
"livestreamDriverEncodeData": (False, 20.),
}
SERVICE_LIST = {name: Service(new_port(idx), *vals) for # type: ignore
SERVICE_LIST = {name: Service(new_port(idx), *vals) for
idx, (name, vals) in enumerate(services.items())}


Expand Down

0 comments on commit fb2fe00

Please sign in to comment.