(self, args, **kwargs)
| 1890 | |
| 1891 | @add_auth_token_to_kwargs_from_cli |
| 1892 | def run(self, args, **kwargs): |
| 1893 | responses = [] |
| 1894 | for execution_id in args.ids: |
| 1895 | try: |
| 1896 | response = self.manager.resume(execution_id) |
| 1897 | responses.append([execution_id, response]) |
| 1898 | except resource.ResourceNotFoundError: |
| 1899 | self.print_not_found(execution_id) |
| 1900 | raise ResourceNotFoundError( |
| 1901 | "Execution with id %s not found." % (execution_id) |
| 1902 | ) |
| 1903 | |
| 1904 | return responses |
| 1905 | |
| 1906 | @add_auth_token_to_kwargs_from_cli |
| 1907 | def run_and_print(self, args, **kwargs): |
no test coverage detected