MCPcopy Index your code
hub / github.com/StackStorm/st2 / run

Method run

st2client/st2client/commands/resource.py:529–532  ·  view source on GitHub ↗
(self, args, **kwargs)

Source from the content-addressed store, hash-verified

527
528 @add_auth_token_to_kwargs_from_cli
529 def run(self, args, **kwargs):
530 data = load_meta_file(args.file)
531 instance = self.resource.deserialize(data)
532 return self.manager.create(instance, **kwargs)
533
534 def run_and_print(self, args, **kwargs):
535 try:

Callers 1

run_and_printMethod · 0.95

Calls 3

deserializeMethod · 0.80
createMethod · 0.80
load_meta_fileFunction · 0.70

Tested by

no test coverage detected