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

Method get_lock

st2common/st2common/services/coordination.py:172–173  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

170
171 @staticmethod
172 def get_lock(name):
173 return NoOpLock(name="noop")
174
175
176def configured():

Callers 10

_handle_executionMethod · 0.80
shutdownMethod · 0.80
putMethod · 0.80
deleteMethod · 0.80
test_lockMethod · 0.80
test_multiple_acquireMethod · 0.80
update_executionFunction · 0.80

Calls 1

NoOpLockClass · 0.85

Tested by 3

test_lockMethod · 0.64
test_multiple_acquireMethod · 0.64