Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyterrier_caching/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.5.5'
__version__ = '0.5.6'

from pyterrier_caching.util import Lazy, closing_memmap, meta_file_compat
from pyterrier_caching.indexer_cache import IndexerCache, Lz4PickleIndexerCache
Expand Down
1 change: 1 addition & 0 deletions pyterrier_caching/retriever_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class DbmRetrieverCache(pt.Artifact, pt.Transformer):
"""A :class:`~pyterrier_caching.RetrieverCache` that stores retrieved results in ``dbm.dumb`` database files."""
ARTIFACT_TYPE = 'retriever_cache'
ARTIFACT_FORMAT = 'dbm.dumb'
ARTIFACT_SCHEMATIC_SHOW_AS_TRANSFORMER = True

def __init__(self,
path: Optional[Union[str, Path]] = None,
Expand Down
2 changes: 2 additions & 0 deletions pyterrier_caching/scorer_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class Hdf5ScorerCache(pta.Artifact, pt.Transformer):
"""
ARTIFACT_TYPE = 'scorer_cache'
ARTIFACT_FORMAT = 'hdf5'
ARTIFACT_SCHEMATIC_SHOW_AS_TRANSFORMER = True

def __init__(self,
path: Optional[Union[str, Path]] = None,
Expand Down Expand Up @@ -277,6 +278,7 @@ class Sqlite3ScorerCache(pta.Artifact, pt.Transformer):

ARTIFACT_TYPE = 'scorer_cache'
ARTIFACT_FORMAT = 'sqlite3'
ARTIFACT_SCHEMATIC_SHOW_AS_TRANSFORMER = True

def __init__(
self,
Expand Down