corvix.enrichment.providers

Built-in enrichment providers.

Submodules

Classes

GitHubLatestCommentProvider

Enriches comment notifications with the latest comment metadata.

GitHubPRStateProvider

Enriches pull-request notifications with state metadata.

Package Contents

class corvix.enrichment.providers.GitHubLatestCommentProvider[source][source]

Enriches comment notifications with the latest comment metadata.

timeout_seconds: float = 10.0[source]
name: str = 'github.latest_comment'[source]
enrich(notification: corvix.domain.Notification, client: corvix.enrichment.base.JsonFetchClient, ctx: corvix.enrichment.base.EnrichmentContext) dict[str, object][source][source]

Return latest comment metadata under the provider namespace.

class corvix.enrichment.providers.GitHubPRStateProvider[source][source]

Enriches pull-request notifications with state metadata.

timeout_seconds: float = 10.0[source]
name: str = 'github.pr_state'[source]
enrich(notification: corvix.domain.Notification, client: corvix.enrichment.base.JsonFetchClient, ctx: corvix.enrichment.base.EnrichmentContext) dict[str, object][source][source]

Return pull-request state metadata under the provider namespace.