koi_net.components.knowledge_handlers.basic_manifest_handler
Classes
|
Normalized event decider based on manifest and cache state. |
- class koi_net.components.knowledge_handlers.basic_manifest_handler.BasicManifestHandler(log, pipeline, cache)[source]
Bases:
KnowledgeHandlerNormalized event decider based on manifest and cache state.
Stops processing for manifests which have the same hash, or aren’t newer than the cached version. Sets the normalized event type to
NEWorUPDATEdepending on whether the RID was previously known.- Parameters:
log (Logger)
pipeline (KnowledgePipeline)
cache (Cache)
- handle(kobj)[source]
- Parameters:
kobj (KnowledgeObject)
- handler_type: HandlerType = 'manifest'