Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CommonstackAI/UncommonRoute
/ _size
Function
_size
uncommon_route/content_capture.py:280–281 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
278
out = dict(row)
279
280
def
_size() -> int:
281
return
len(json.dumps(out, default=str, ensure_ascii=False).encode(
"utf-8"
))
282
283
if
_size() <= cap_bytes:
284
return
out, False
Callers
1
truncate_content_payload
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected