Initial InfraPulse scaffold

This commit is contained in:
Keith Smith
2026-05-22 17:36:40 -06:00
commit a707186a5e
92 changed files with 6918 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from dataclasses import dataclass
import httpx
@dataclass(frozen=True)
class WebhookNotification:
url: str
text: str
async def send_generic_webhook(notification: WebhookNotification) -> None:
async with httpx.AsyncClient(timeout=10) as client:
await client.post(notification.url, json={"text": notification.text})