GodsDevProject commited on
Commit
65bc042
·
verified ·
1 Parent(s): 1558b4d

Create ingest/health.py

Browse files
Files changed (1) hide show
  1. ingest/health.py +8 -0
ingest/health.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import time
2
+ from dataclasses import dataclass
3
+
4
+ @dataclass
5
+ class HealthStatus:
6
+ ok: bool
7
+ latency_ms: int
8
+ error: str | None = None