MCPcopy
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

61class 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

encodeMethod · 0.45
innerFunction · 0.45
default_key_builderFunction · 0.45
getMethod · 0.45
setMethod · 0.45
test_pickle_coderFunction · 0.45
test_json_coderFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_pickle_coderFunction · 0.36
test_json_coderFunction · 0.36