| 274 | |
| 275 | |
| 276 | class Message: |
| 277 | type = None # type: str |
| 278 | pkt = None # type: Packet |
| 279 | result = None # type: str |
| 280 | state = None # type: Message |
| 281 | exc_info = None # type: Union[Tuple[None, None, None], Tuple[BaseException, Exception, types.TracebackType]] # noqa: E501 |
| 282 | |
| 283 | def __init__(self, **args): |
| 284 | # type: (Any) -> None |
| 285 | self.__dict__.update(args) |
| 286 | |
| 287 | def __repr__(self): |
| 288 | # type: () -> str |
| 289 | return "<Message %s>" % " ".join( |
| 290 | "%s=%r" % (k, v) |
| 291 | for k, v in self.__dict__.items() |
| 292 | if not k.startswith("_") |
| 293 | ) |
| 294 | |
| 295 | |
| 296 | class Timer(): |
no outgoing calls
no test coverage detected