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

Method dispatch_create_trigger

st2common/st2common/persistence/base.py:300–306  ·  view source on GitHub ↗

Dispatch a resource-specific trigger which indicates a new resource has been created.

(cls, model_object)

Source from the content-addressed store, hash-verified

298
299 @classmethod
300 def dispatch_create_trigger(cls, model_object):
301 """
302 Dispatch a resource-specific trigger which indicates a new resource has been created.
303 """
304 return cls._dispatch_operation_trigger(
305 operation="create", model_object=model_object
306 )
307
308 @classmethod
309 def dispatch_update_trigger(cls, model_object):

Callers 2

insertMethod · 0.80
add_or_updateMethod · 0.80

Calls 1

Tested by

no test coverage detected