cleverly.assessment.CacheEntry#
- class cleverly.assessment.CacheEntry(key: str, operation: str, nbytes: int, evictable: bool)[source]#
One filed answer of an
AssessmentCache.- Parameters:
- key
str The key: the operation and its normalized arguments.
- operation
str The operation, the key’s text before its first colon.
- nbytes
int The bytes the answer is counted at (
AssessmentCache.nbytes).- evictablebool
Whether a budget or
AssessmentCache.evict()may drop it.
- key