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

Method __init__

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

Source from the content-addressed store, hash-verified

762
763class ResourceCloneCommand(ResourceCommand):
764 def __init__(self, resource, *args, **kwargs):
765 super(ResourceCloneCommand, self).__init__(
766 resource,
767 "clone",
768 "Clone a new %s." % resource.get_display_name().lower(),
769 *args,
770 **kwargs,
771 )
772
773 @add_auth_token_to_kwargs_from_cli
774 def run(self, args, **kwargs):

Callers

nothing calls this directly

Calls 2

get_display_nameMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected