Separate state from public API

This commit is contained in:
Luke Murphy 2020-08-03 22:34:24 +02:00
parent 1a12b11e9a
commit 349a14293c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -12,6 +12,7 @@ class SimpleMessageChannel:
"""A simple message channel."""
messages: List[Tuple[int, int, bytes]] = attr.Factory(list)
varint: int = 0
factor: int = 1
length: int = 0