MCPcopy Create free account
hub / github.com/StackStorm/st2 / load_spec

Function load_spec

st2common/st2common/util/spec_loader.py:38–41  ·  view source on GitHub ↗
(module_name, spec_file)

Source from the content-addressed store, hash-verified

36
37
38def load_spec(module_name, spec_file):
39 spec_string = generate_spec(module_name, spec_file)
40
41 return yaml_utils.unique_key_loader_safe_load(spec_string)
42
43
44def generate_spec(module_name, spec_file):

Callers

nothing calls this directly

Calls 1

generate_specFunction · 0.70

Tested by

no test coverage detected