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

Method __init__

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

Source from the content-addressed store, hash-verified

395
396class ResourceListCommand(ResourceTableCommand):
397 def __init__(self, resource, *args, **kwargs):
398 super(ResourceListCommand, self).__init__(
399 resource,
400 "list",
401 "Get the list of %s." % resource.get_plural_display_name().lower(),
402 *args,
403 **kwargs,
404 )
405
406
407class ContentPackResourceListCommand(ResourceListCommand):

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45

Tested by

no test coverage detected