corvix.enrichment.providers.github_pr_state

GitHub pull-request state enrichment provider.

Classes

GitHubPRStateProvider

Enriches pull-request notifications with state metadata.

Functions

_is_str_object_map(→ TypeIs[dict[str, object]])

Module Contents

corvix.enrichment.providers.github_pr_state._is_str_object_map(value: object) TypeIs[dict[str, object]][source][source]
class corvix.enrichment.providers.github_pr_state.GitHubPRStateProvider[source][source]

Enriches pull-request notifications with state metadata.

timeout_seconds: float = 10.0[source][source]
name: str = 'github.pr_state'[source][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.