github_notifications
github_notifications
¶
GitHub Notifications connector — unread notifications via GitHub REST API.
Uses a Personal Access Token stored in the connector config dir. All API calls are in module-level functions for easy mocking in tests.
Classes¶
GitHubNotificationsConnector
¶
Bases: BaseConnector
Sync unread notifications from GitHub.
Source code in src/diapason/connectors/github_notifications.py
Methods:¶
sync
¶
sync(
*,
since: Optional[datetime] = None,
cursor: Optional[str] = None,
) -> Iterator[Document]
Yield Documents for each GitHub notification.