1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-12-21 09:01:23 -05:00

Fixed the protocol for Stats Collector

The stats() method had an inconsistent name for serializable.
This commit is contained in:
Hemna 2024-11-08 13:22:53 -05:00
parent adcf94d8c7
commit bd0bcc1924

View File

@ -10,7 +10,7 @@ LOG = logging.getLogger("APRSD")
@runtime_checkable
class StatsProducer(Protocol):
"""The StatsProducer protocol is used to define the interface for collecting stats."""
def stats(self, serializeable=False) -> dict:
def stats(self, serializable=False) -> dict:
"""provide stats in a dictionary format."""
...