Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dispatcharr/Dispatcharr
/ _decode_chunk
Function
_decode_chunk
apps/output/streaming_chunk_cache.py:36–41 ·
view source on GitHub ↗
(chunk)
Source
from the content-addressed store, hash-verified
34
35
36
def
_decode_chunk(chunk):
37
if
chunk is None:
38
return
None
39
if
isinstance(chunk, bytes):
40
return
chunk.decode(
"utf-8"
)
41
return
chunk
42
43
44
def
_encode_chunk(chunk):
Callers
3
_get_status
Function · 0.85
_stream_ready
Function · 0.85
_stream_follow
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected