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

Function deep_extend

python/ccxt/async_support/base/ws/functions.py:44–54  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

42
43
44def deep_extend(*args):
45 result = None
46 for arg in args:
47 if isinstance(arg, dict):
48 if not isinstance(result, dict):
49 result = {}
50 for key in arg:
51 result[key] = deep_extend(result[key] if key in result else None, arg[key])
52 else:
53 result = arg
54 return result

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…