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

Method _delete

st2common/tests/unit/test_db.py:1014–1019  ·  view source on GitHub ↗
(model_objects)

Source from the content-addressed store, hash-verified

1012
1013 @staticmethod
1014 def _delete(model_objects):
1015 global SKIP_DELETE
1016 if SKIP_DELETE:
1017 return
1018 for model_object in model_objects:
1019 model_object.delete()
1020
1021
1022from st2common.models.db.keyvalue import KeyValuePairDB

Callers 13

tearDownMethod · 0.95
test_action_crudMethod · 0.95
test_parameter_schemaMethod · 0.95
test_triggertype_crudMethod · 0.45
test_trigger_crudMethod · 0.45
test_rule_crudMethod · 0.45
test_rule_lookupMethod · 0.45
test_trigger_lookupMethod · 0.45

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected