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/openjarvis/connectors/github_notifications.py
Functions¶
sync
¶
sync(*, since: Optional[datetime] = None, cursor: Optional[str] = None) -> Iterator[Document]
Yield Documents for each GitHub notification.