(cls, operation, model_object)
| 337 | |
| 338 | @classmethod |
| 339 | def _dispatch_operation_trigger(cls, operation, model_object): |
| 340 | if operation not in cls.dispatch_trigger_for_operations: |
| 341 | return |
| 342 | |
| 343 | trigger = cls._get_trigger_ref_for_operation(operation=operation) |
| 344 | |
| 345 | object_payload = cls.api_model_cls.from_model( |
| 346 | model_object, mask_secrets=True |
| 347 | ).__json__() |
| 348 | payload = {"object": object_payload} |
| 349 | return cls._dispatch_trigger( |
| 350 | operation=operation, trigger=trigger, payload=payload |
| 351 | ) |
| 352 | |
| 353 | @classmethod |
| 354 | def _dispatch_trigger(cls, operation, trigger, payload): |
no test coverage detected