MCPcopy Create free account
hub / github.com/ezyang/ghstack / merge_dicts

Function merge_dicts

src/ghstack/shell.py:38–41  ·  view source on GitHub ↗
(x: Dict[K, V], y: Dict[K, V])

Source from the content-addressed store, hash-verified

36
37
38def merge_dicts(x: Dict[K, V], y: Dict[K, V]) -> Dict[K, V]:
39 z = x.copy()
40 z.update(y)
41 return z
42
43
44class Shell(object):

Callers 1

shMethod · 0.85

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected