(self, action_db, pack_base_path, temp_sub_dir)
| 542 | self._trigger_dispatcher.dispatch(trigger=trigger, payload=payload) |
| 543 | |
| 544 | def _restore_action(self, action_db, pack_base_path, temp_sub_dir): |
| 545 | restore_temp_action_files( |
| 546 | pack_base_path, |
| 547 | action_db["metadata_file"], |
| 548 | action_db["entry_point"], |
| 549 | temp_sub_dir, |
| 550 | ) |
| 551 | action_db.id = None |
| 552 | Action.add_or_update(action_db) |
| 553 | remove_temp_action_files(temp_sub_dir) |
| 554 | |
| 555 | |
| 556 | actions_controller = ActionsController() |
no test coverage detected