MCPcopy Create free account
hub / github.com/ccxt/ccxt / _pack_map_pairs

Method _pack_map_pairs

python/ccxt/static_dependencies/msgpack/fallback.py:905–909  ·  view source on GitHub ↗
(self, n, pairs, nest_limit=DEFAULT_RECURSE_LIMIT)

Source from the content-addressed store, hash-verified

903 raise ValueError("Dict is too large")
904
905 def _pack_map_pairs(self, n, pairs, nest_limit=DEFAULT_RECURSE_LIMIT):
906 self._pack_map_header(n)
907 for k, v in pairs:
908 self._pack(k, nest_limit - 1)
909 self._pack(v, nest_limit - 1)
910
911 def _pack_raw_header(self, n):
912 if n <= 0x1F:

Callers 2

_packMethod · 0.95
pack_map_pairsMethod · 0.95

Calls 2

_pack_map_headerMethod · 0.95
_packMethod · 0.95

Tested by

no test coverage detected