owmeta_core.bundle_dependency_store module

class owmeta_core.bundle_dependency_store.BundleDependencyStore(wrapped=None, excludes=())[source]

Bases: Store

A read-only RDFLib Store that supports the extra stuff we need from dependencies

open(configuration)[source]

Creates and opens the configured store.

Also verifies that the provided store is context-aware

context_aware = True

Specified by RDFLib. Required to be True for ConjunctiveGraph stores.

Wrapped store MUST be context-aware. This is enforced by open().

class owmeta_core.bundle_dependency_store.StoreCache[source]

Bases: object

Cache of stores previously cached by a BDS.

We don’t want to keep hold of a store if there’s no BDS using it, so we only reference the stores weakly.