Skip to content

Commit 8d6fb23

Browse files
committed
next time: run mypy!
1 parent 7017386 commit 8d6fb23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

relay/metric.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ class Neo4j5Metric:
179179
"""
180180
Represents a metric emitted by Neo4j v5.
181181
"""
182-
def __init__(self):
182+
def __init__(self) -> None:
183183
self.key: str = ""
184184
self.value: Union[int, float] = 0
185-
self.origin: Origin = Origin()
185+
self.origin: Origin = Origin("", "", 0)
186186
self.seen_at: Union[int, float] = 0
187187

188188
self.kind: MetricKind = MetricKind.GAUGE

0 commit comments

Comments
 (0)