compass.pipeline.collection.persistence.load_specific_collection_manifest_shard#
- async load_specific_collection_manifest_shard(shard_dir, jurisdiction)[source]#
Load one jurisdiction collection manifest shard when present
- Parameters:
shard_dir (path-like) – Directory containing per-jurisdiction collection manifest shard files.
jurisdiction (
compass.utilities.jurisdictions.Jurisdiction) – Jurisdiction whose shard should be loaded.
- Returns:
dictorNone– Loaded collection metadata for the jurisdiction, orNonewhen no shard exists yet.