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

Function substitute_variable_values

src/features/file_download_feature.py:241–248  ·  view source on GitHub ↗
(parameter_configs, output_files, value_wrappers, audit_name, username)

Source from the content-addressed store, hash-verified

239
240
241def substitute_variable_values(parameter_configs, output_files, value_wrappers, audit_name, username):
242 output_file_parsed = []
243 for _, output_file in enumerate(output_files):
244 substituted_file = fill_parameter_values(parameter_configs, output_file, value_wrappers)
245 substituted_file = replace_auth_vars(substituted_file, username, audit_name)
246 output_file_parsed.append(substituted_file)
247
248 return output_file_parsed
249
250
251def find_matching_files(file_pattern, script_output):

Callers 1

_get_pathsMethod · 0.85

Calls 3

fill_parameter_valuesFunction · 0.90
replace_auth_varsFunction · 0.90
appendMethod · 0.80

Tested by

no test coverage detected