corvix.enrichment.providers =========================== .. py:module:: corvix.enrichment.providers .. autoapi-nested-parse:: Built-in enrichment providers. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/corvix/enrichment/providers/github_latest_comment/index /autoapi/corvix/enrichment/providers/github_pr_state/index Classes ------- .. autoapisummary:: corvix.enrichment.providers.GitHubLatestCommentProvider corvix.enrichment.providers.GitHubPRStateProvider Package Contents ---------------- .. py:class:: GitHubLatestCommentProvider Enriches comment notifications with the latest comment metadata. .. py:attribute:: timeout_seconds :type: float :value: 10.0 .. py:attribute:: name :type: str :value: 'github.latest_comment' .. py:method:: enrich(notification: corvix.domain.Notification, client: corvix.enrichment.base.JsonFetchClient, ctx: corvix.enrichment.base.EnrichmentContext) -> dict[str, object] Return latest comment metadata under the provider namespace. .. py:class:: GitHubPRStateProvider Enriches pull-request notifications with state metadata. .. py:attribute:: timeout_seconds :type: float :value: 10.0 .. py:attribute:: name :type: str :value: 'github.pr_state' .. py:method:: enrich(notification: corvix.domain.Notification, client: corvix.enrichment.base.JsonFetchClient, ctx: corvix.enrichment.base.EnrichmentContext) -> dict[str, object] Return pull-request state metadata under the provider namespace.