MCPcopy Create free account
hub / github.com/bugy/script-server / get_ui_values

Method get_ui_values

src/model/parameter_config.py:179–183  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

177 + '" in values.script! ')
178
179 def get_ui_values(self):
180 if self.values is None:
181 return None
182
183 return [self._ui_value_mapper.map_to_ui_value(v) for v in self.values]
184
185 def _read_type(self, config):
186 type = config.get('type', 'text')

Callers 4

validate_valueMethod · 0.95
parameter_to_externalFunction · 0.80
test_no_mappingMethod · 0.80
test_mappingMethod · 0.80

Calls 1

map_to_ui_valueMethod · 0.45

Tested by 2

test_no_mappingMethod · 0.64
test_mappingMethod · 0.64