feat: indie status page MVP -- FastAPI + SQLite
- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
This commit is contained in:
commit
902133edd3
4655 changed files with 1342691 additions and 0 deletions
11
venv/lib/python3.11/site-packages/mypy/server/target.py
Normal file
11
venv/lib/python3.11/site-packages/mypy/server/target.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from __future__ import annotations
|
||||
|
||||
|
||||
def trigger_to_target(s: str) -> str:
|
||||
assert s[0] == "<"
|
||||
# Strip off the angle brackets
|
||||
s = s[1:-1]
|
||||
# If there is a [wildcard] or similar, strip that off too
|
||||
if s[-1] == "]":
|
||||
s = s.split("[")[0]
|
||||
return s
|
||||
Loading…
Add table
Add a link
Reference in a new issue