corvix.web.actions¶
Notification action helpers: dismiss and mark-read against GitHub + storage.
These plain (non-decorated) functions carry the business logic behind the
/api/v1/notifications/{account_id}/{thread_id}/dismiss and .../mark-read
route handlers. _require_account and _build_github_client are shared
with the rule-snippet builder.
Attributes¶
Functions¶
|
|
|
|
|
|
|
Module Contents¶
- corvix.web.actions._require_account(config: corvix.config.AppConfig, account_id: str) corvix.config.GitHubAccountConfig[source][source]¶
- corvix.web.actions._build_github_client(config: corvix.config.AppConfig, account: corvix.config.GitHubAccountConfig, token: str) corvix.ingestion.GitHubNotificationsClient[source][source]¶