CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/pidge

Context tile for pidge notification library v3 - async API with NotificationClient, Message, and dispatch pattern

99

2.85x

Quality

99%

Does it follow best practices?

Impact

100%

2.85x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

pidge-v3.mdrules/

Pidge v3 Rules

  • Use pidge v3 async API: NotificationClient with async with context manager and await client.dispatch(msg)
  • Do NOT use v2 API: Notifier, NotifierConfig, or .send() are removed in v3
  • Construct messages with Message dataclass, not positional arguments
  • Config via NotificationConfig(api_key=...) — never hardcode API keys
  • Always check result.status == Status.SENT for delivery confirmation
  • Include notification_sent field in endpoint responses when sending notifications

tile.json