mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-14 20:32:00 -05:00
Fixed the protocol for Stats Collector
The stats() method had an inconsistent name for serializable.
This commit is contained in:
parent
adcf94d8c7
commit
bd0bcc1924
@ -10,7 +10,7 @@ LOG = logging.getLogger("APRSD")
|
|||||||
@runtime_checkable
|
@runtime_checkable
|
||||||
class StatsProducer(Protocol):
|
class StatsProducer(Protocol):
|
||||||
"""The StatsProducer protocol is used to define the interface for collecting stats."""
|
"""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."""
|
"""provide stats in a dictionary format."""
|
||||||
...
|
...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user