koi_net.components.knowledge_handlers.basic_manifest_handler

Classes

BasicManifestHandler(log, pipeline, cache)

class koi_net.components.knowledge_handlers.basic_manifest_handler.BasicManifestHandler(log, pipeline, cache)[source]

Bases: KnowledgeHandler

Parameters:
cache: Cache
handle(kobj)[source]

Normalized 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 NEW or UPDATE depending on whether the RID was previously known.

Parameters:

kobj (KnowledgeObject)

handler_type: HandlerType = 'manifest'