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

Method get_pack_ref

st2common/st2common/runners/base.py:202–211  ·  view source on GitHub ↗

Retrieve pack name for the action which is being currently executed. :rtype: ``str``

(self)

Source from the content-addressed store, hash-verified

200 return self.get_pack_ref()
201
202 def get_pack_ref(self):
203 """
204 Retrieve pack name for the action which is being currently executed.
205
206 :rtype: ``str``
207 """
208 if self.action:
209 return self.action.pack
210
211 return pack_constants.DEFAULT_PACK_NAME
212
213 def get_user(self):
214 """

Callers 3

get_pack_nameMethod · 0.95
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected