Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/faust-streaming/faust
/ loads
Function
loads
faust/serializers/codecs.py:363–365 ·
view source on GitHub ↗
Decode object from bytes.
(codec: Optional[CodecArg], s: bytes)
Source
from the content-addressed store, hash-verified
361
362
363
def
loads(codec: Optional[CodecArg], s: bytes) -> Any:
364
""
"Decode object from bytes."
""
365
return
get_codec(codec).loads(s)
if
codec
else
s
Callers
7
test_json_subset
Function · 0.90
test_missing_yaml_library
Function · 0.90
test_binary
Function · 0.90
loads
Method · 0.90
loads_key
Method · 0.70
loads_value
Method · 0.70
_loads
Method · 0.70
Calls
2
get_codec
Function · 0.85
loads
Method · 0.45
Tested by
3
test_json_subset
Function · 0.72
test_missing_yaml_library
Function · 0.72
test_binary
Function · 0.72