MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / update_recursive

Method update_recursive

mapping/demo/parser.py:52–60  ·  view source on GitHub ↗
(self, dict1, dict2)

Source from the content-addressed store, hash-verified

50 return args
51
52 def update_recursive(self, dict1, dict2):
53 for k, v in dict2.items():
54 if k not in dict1:
55 dict1[k] = dict()
56 if isinstance(v, dict):
57 self.update_recursive(dict1[k], v)
58 else:
59 dict1[k] = v
60 return dict1
61
62
63def get_parser(vis=False):

Callers 1

parse_config_yamlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected