MCPcopy Index your code
hub / github.com/questdb/questdb / resolve_parameters

Function resolve_parameters

compat/src/test/python/common.py:41–52  ·  view source on GitHub ↗
(typed_parameters, variables)

Source from the content-addressed store, hash-verified

39
40
41def resolve_parameters(typed_parameters, variables):
42 resolved_parameters = []
43 for typed_param in typed_parameters:
44 type_ = typed_param.get('type').lower()
45 value = typed_param.get('value')
46
47 if isinstance(value, str):
48 resolved_str_value = substitute_variables(value, variables)
49 convert_and_append_parameters(resolved_str_value, type_, resolved_parameters)
50 else:
51 convert_and_append_parameters(value, type_, resolved_parameters)
52 return resolved_parameters
53
54
55def convert_and_append_parameters(value, type, resolved_parameters):

Callers 3

execute_stepFunction · 0.85
execute_stepFunction · 0.85
execute_stepFunction · 0.85

Calls 3

substitute_variablesFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…