GodsDevProject commited on
Commit
2729cf9
·
verified ·
1 Parent(s): 76a5124

Delete health.py

Browse files
Files changed (1) hide show
  1. health.py +0 -12
health.py DELETED
@@ -1,12 +0,0 @@
1
- class HealthRegistry:
2
- def __init__(self):
3
- self.state = {}
4
-
5
- def update(self, agency, healthy=True):
6
- self.state[agency] = healthy
7
-
8
- def is_enabled(self, agency):
9
- return self.state.get(agency, True)
10
-
11
- def badge(self, agency):
12
- return "🟢 Healthy" if self.is_enabled(agency) else "🔴 Disabled"