Skip to content

Commit 5879829

Browse files
committed
Fix type hints and support admissioner argument for all cache implementations
1 parent 2639d40 commit 5879829

File tree

2 files changed

+175
-54
lines changed

2 files changed

+175
-54
lines changed

libcachesim/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
SizeProbabilisticAdmissioner,
6464
AdaptSizeAdmissioner,
6565
PluginAdmissioner,
66+
AdmissionerBase,
6667
)
6768

6869
from .trace_reader import TraceReader
@@ -126,6 +127,8 @@
126127
"SizeProbabilisticAdmissioner",
127128
"AdaptSizeAdmissioner",
128129
"PluginAdmissioner",
130+
# Admissioner base class
131+
"AdmissionerBase",
129132
# Readers and analyzers
130133
"TraceReader",
131134
"TraceAnalyzer",

0 commit comments

Comments
 (0)