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

Method print_not_found

st2client/st2client/commands/resource.py:180–181  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

178 return "%s-id" % resource_name.replace(" ", "-")
179
180 def print_not_found(self, name):
181 print('%s "%s" is not found.\n' % (self.resource.get_display_name(), name))
182
183 def get_resource(self, name_or_id, **kwargs):
184 pk_argument_name = self.pk_argument_name

Callers 6

run_and_printMethod · 0.80
run_and_printMethod · 0.80
run_and_printMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 1

get_display_nameMethod · 0.80

Tested by

no test coverage detected