File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
"""Communication module. Provides generic abstraction for communication and commonly used
3
3
concrete implementations."""
4
4
5
- from abc import abstractmethod , ABC
6
- from typing import Any , List , Optional
5
+ from __future__ import annotations
7
6
8
- from tmtccmd .tmtc .common import TelemetryListT
7
+ from abc import abstractmethod , ABC
8
+ from typing import Any , Optional
9
9
10
10
11
11
class ReceptionDecodeError (Exception ):
@@ -68,7 +68,7 @@ def send(self, data: bytes | bytearray):
68
68
"""
69
69
70
70
@abstractmethod
71
- def receive (self , parameters : Any = 0 ) -> List [bytes ]:
71
+ def receive (self , parameters : Any = 0 ) -> list [bytes ]:
72
72
"""Returns a list of received packets. The child class can use a separate thread to poll for
73
73
the packets or use some other mechanism and container like a deque to store packets
74
74
to be returned here.
You can’t perform that action at this time.
0 commit comments