MCPcopy Create free account
hub / github.com/ahalev/python-microgrid / _add_empty

Function _add_empty

src/pymgrid/convert/to_nonmodular_ops.py:181–182  ·  view source on GitHub ↗
(params_dict, subdict_name, *keys)

Source from the content-addressed store, hash-verified

179
180
181def _add_empty(params_dict, subdict_name, *keys):
182 params_dict[subdict_name].update({k: [] for k in keys})
183
184
185def _add_to_architecture(params_dict, component):

Callers 3

_add_to_df_actionsFunction · 0.85
_add_to_df_costFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected