MCPcopy Create free account
hub / github.com/ServerlessLLM/ServerlessLLM / deep_update

Function deep_update

sllm/cli/_cli_utils.py:101–107  ·  view source on GitHub ↗
(original: dict, updates: dict)

Source from the content-addressed store, hash-verified

99
100
101def deep_update(original: dict, updates: dict) -> dict:
102 for key, value in updates.items():
103 if isinstance(value, dict) and isinstance(original.get(key), dict):
104 original[key] = deep_update(original.get(key, {}), value)
105 else:
106 original[key] = value
107 return original
108
109
110def deploy_model(

Callers 1

deploy_modelFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected