corvix.enrichment.engine¶
Enrichment engine for attaching contextual data to notifications.
Classes¶
Result of enriching one poll cycle. |
|
Runs configured enrichment providers over notifications. |
Functions¶
|
|
|
Merge payload under a dot-delimited namespace. |
Module Contents¶
- corvix.enrichment.engine._is_str_object_map(value: object) TypeIs[dict[str, object]][source][source]¶
- class corvix.enrichment.engine.EnrichmentRunResult[source][source]¶
Result of enriching one poll cycle.
- class corvix.enrichment.engine.EnrichmentEngine[source][source]¶
Runs configured enrichment providers over notifications.
- run(notifications: list[corvix.domain.Notification], client: corvix.enrichment.base.JsonFetchClient, clients_by_account: dict[str, corvix.enrichment.base.JsonFetchClient] | None = None) EnrichmentRunResult[source][source]¶
Run enabled providers for all notifications in one cycle.