MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / get_parameter

Method get_parameter

simcore/framework/src/api/python/txsim_module.py:81–84  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

79 self.cbs = cbs
80 # 获取前端配置输入参数
81 def get_parameter(self, key):
82 v = _InitHelper.FUNC_PARAMETER(self.cbs[1])(
83 self.data, _pystr2cstr(key))
84 return _cstr2pystr(v)
85 # 订阅tcp通信方式的topic
86 def subscribe(self, topic):
87 _InitHelper.FUNC_SUBSCRIBE(self.cbs[2])(self.data, _pystr2cstr(topic))

Callers 1

on_initMethod · 0.80

Calls 2

_pystr2cstrFunction · 0.85
_cstr2pystrFunction · 0.85

Tested by

no test coverage detected