MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / merge_dict

Method merge_dict

src/astroprint/network/mac_dev.py:231–236  ·  view source on GitHub ↗
(a,b)

Source from the content-addressed store, hash-verified

229
230 if config:
231 def merge_dict(a,b):
232 for key in b:
233 if isinstance(b[key], dict):
234 merge_dict(a[key], b[key])
235 else:
236 a[key] = b[key]
237
238 merge_dict(self._config, config)

Callers

nothing calls this directly

Calls 1

merge_dictFunction · 0.85

Tested by

no test coverage detected