MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / local_session_caching.py

File local_session_caching.py

examples/dogpile_caching/local_session_caching.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""This example creates a new dogpile.cache backend that will persist data in a
2dictionary which is local to the current session. remove() the session and
3the cache is gone.
4

Callers

nothing calls this directly

Calls 11

selectFunction · 0.90
FromCacheClass · 0.85
configureMethod · 0.45
optionsMethod · 0.45
filterMethod · 0.45
oneMethod · 0.45
scalarsMethod · 0.45
removeMethod · 0.45
_generate_cache_keyMethod · 0.45
scalarMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected