Skip to content

Commit f20de37

Browse files
committed
TimestampAndValuePair are both strings
1 parent e9c4b1d commit f20de37

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system_status/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
@dataclass
1919
class TimestampAndValuePair:
20-
timestamp: datetime.datetime
20+
timestamp: str
2121
value: str
2222

2323
def to_dict(self):
2424
return {
25-
"timestamp": self.timestamp.isoformat(),
25+
"timestamp": self.timestamp,
2626
"value": self.value
2727
}
2828

0 commit comments

Comments
 (0)