MCPcopy Create free account
hub / github.com/etesync/server / msgpack_encode

Function msgpack_encode

etebase_server/fastapi/utils.py:49–52  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

47
48
49def msgpack_encode(content) -> bytes:
50 ret = msgpack.packb(content, use_bin_type=True)
51 assert ret is not None
52 return ret
53
54
55def msgpack_decode(content: bytes):

Callers 5

renderMethod · 0.85
login_challengeFunction · 0.85
get_ticketFunction · 0.85
send_item_updatesFunction · 0.85
report_items_changedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected