- 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
13 lines
288 B
Python
13 lines
288 B
Python
from __future__ import annotations
|
|
|
|
from typing import final
|
|
|
|
|
|
@final
|
|
class UsageError(Exception):
|
|
"""Error in pytest usage or invocation."""
|
|
|
|
|
|
class PrintHelp(Exception):
|
|
"""Raised when pytest should print its help to skip the rest of the
|
|
argument parsing and validation."""
|