Modernized codebase with NamedTuples, StrEnum, override decorators, slots, and other idiomatic improvements.
This commit is contained in:
@@ -131,6 +131,8 @@ class MetricsServer:
|
||||
which handles compression and content negotiation automatically.
|
||||
"""
|
||||
|
||||
__slots__ = ("_host", "_port", "_runner")
|
||||
|
||||
def __init__(self, host: str, port: int) -> None:
|
||||
"""Store the listen address.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user