MCPcopy Index your code
hub / github.com/StackStorm/st2 / dispatch_update_trigger

Method dispatch_update_trigger

st2common/st2common/persistence/base.py:309–315  ·  view source on GitHub ↗

Dispatch a resource-specific trigger which indicates an existing resource has been updated.

(cls, model_object)

Source from the content-addressed store, hash-verified

307
308 @classmethod
309 def dispatch_update_trigger(cls, model_object):
310 """
311 Dispatch a resource-specific trigger which indicates an existing resource has been updated.
312 """
313 return cls._dispatch_operation_trigger(
314 operation="update", model_object=model_object
315 )
316
317 @classmethod
318 def dispatch_delete_trigger(cls, model_object):

Callers 2

add_or_updateMethod · 0.80
updateMethod · 0.80

Calls 1

Tested by

no test coverage detected