MCPcopy
hub / github.com/NTMC-Community/MatchZoo / set

Method set

matchzoo/engine/param_table.py:53–57  ·  view source on GitHub ↗

Set `key` to parameter `param`.

(self, key, param: Param)

Source from the content-addressed store, hash-verified

51 return self._params[key]
52
53 def set(self, key, param: Param):
54 """Set `key` to parameter `param`."""
55 if not isinstance(param, Param):
56 raise ValueError("Only accepts a Param instance.")
57 self._params[key] = param
58
59 @property
60 def hyper_space(self) -> dict:

Callers 11

test_setFunction · 0.80
jquery.jsFile · 0.80
_Function · 0.80
iaFunction · 0.80
oaFunction · 0.80
HaFunction · 0.80
jquery-3.2.1.jsFile · 0.80
dataAttrFunction · 0.80
showHideFunction · 0.80
setGlobalEvalFunction · 0.80
cloneCopyEventFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_setFunction · 0.64