Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/long2ice/fastapi-cache
/ encode
Method
encode
fastapi_cache/coder.py:63–64 ·
view source on GitHub ↗
(cls, value: Any)
Source
from the content-addressed store, hash-verified
61
class
Coder:
62
@classmethod
63
def
encode(cls, value: Any) -> bytes:
64
raise
NotImplementedError
65
66
@classmethod
67
def
decode(cls, value: bytes) -> Any:
Callers
7
encode
Method · 0.45
inner
Function · 0.45
default_key_builder
Function · 0.45
get
Method · 0.45
set
Method · 0.45
test_pickle_coder
Function · 0.45
test_json_coder
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_pickle_coder
Function · 0.36
test_json_coder
Function · 0.36