Language Features

PyCachetools

Third-party Python package module — cachetools. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.cached()Neutral
#
Signature
cached(cache, key, lock, condition, info)

cached function.

.cachedmethod()Neutral
#
Signature
cachedmethod(cache, key, lock, condition)

cachedmethod function.

.func.fifo_cache()Neutral
#
Signature
func.fifo_cache(maxsize, typed)

func.fifo_cache function.

.func.lfu_cache()Neutral
#
Signature
func.lfu_cache(maxsize, typed)

func.lfu_cache function.

.func.lru_cache()Neutral
#
Signature
func.lru_cache(maxsize, typed)

func.lru_cache function.

.func.rr_cache()Neutral
#
Signature
func.rr_cache(maxsize, choice, typed)

func.rr_cache function.

.func.ttl_cache()Neutral
#
Signature
func.ttl_cache(maxsize, ttl, timer, typed)

func.ttl_cache function.

.keys.hashkey()Neutral
#
Signature
keys.hashkey(*args, **kwargs)

keys.hashkey function.

.keys.methodkey()Neutral
#
Signature
keys.methodkey(*args, **kwargs)

keys.methodkey function.

.keys.typedkey()Neutral
#
Signature
keys.typedkey(*args, **kwargs)

keys.typedkey function.

Fully-Qualified Names

FQNField
cachetoolsfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import cachetools