- 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
14 lines
284 B
Python
14 lines
284 B
Python
from __future__ import annotations
|
|
|
|
from typing import NamedTuple
|
|
|
|
|
|
class URL(NamedTuple):
|
|
protocol: str | None
|
|
slashes: bool
|
|
auth: str | None
|
|
port: str | None
|
|
hostname: str | None
|
|
hash: str | None # noqa: A003
|
|
search: str | None
|
|
pathname: str | None
|