MCPcopy Create free account
hub / github.com/explorerhq/sql-explorer / shared_dict_update

Function shared_dict_update

explorer/utils.py:98–102  ·  view source on GitHub ↗
(target, source)

Source from the content-addressed store, hash-verified

96
97
98def shared_dict_update(target, source):
99 for k_d1 in target:
100 if k_d1 in source:
101 target[k_d1] = source[k_d1]
102 return target
103
104
105def safe_cast(val, to_type, default=None):

Callers 2

available_paramsMethod · 0.90

Calls

no outgoing calls

Tested by 1