MCPcopy Create free account
hub / github.com/RoboCodeX-source/RoboCodeX_code / merge_dicts

Function merge_dicts

instruct_to_policy/scripts/src/utils.py:22–27  ·  view source on GitHub ↗
(dicts)

Source from the content-addressed store, hash-verified

20
21
22def merge_dicts(dicts):
23 return {
24 k : v
25 for d in dicts
26 for k, v in d.items()
27 }
28
29def prepare_vars(env, defined_functions:List[str]=[], detached_mode=False):
30 """Prepare variables including APIs and objects for LMPs """

Callers 4

exec_safeFunction · 0.85
__call__Method · 0.85
create_f_from_sigMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected