from enum import Enum
from inspect import isclass
from struct import error, pack, unpack
+from typing import Any, Callable, Tuple
__all__ = (
"class_by_prefix",
class GPS303Pkt(metaclass=MetaPkt):
RESPOND = Respond.NON # Do not send anything back by default
PROTO: int
- IN_KWARGS = ()
- OUT_KWARGS = ()
+ IN_KWARGS: Tuple[Tuple[str, Callable, Any], ...] = ()
+ OUT_KWARGS: Tuple[Tuple[str, Callable, Any], ...] = ()
def __init__(self, *args, **kwargs):
"""