GodsDevProject commited on
Commit
6d8f721
·
verified ·
1 Parent(s): 5621e5f

Create ingest/health.py

Browse files
Files changed (1) hide show
  1. ingest/health.py +8 -8
ingest/health.py CHANGED
@@ -1,8 +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
 
1
+ def get_health_snapshot():
2
+ return {
3
+ "CIA FOIA Reading Room": {
4
+ "status": "OK",
5
+ "latency": "normal",
6
+ "public_only": True
7
+ }
8
+ }