(self, request: Request, **kwargs: object)
| 335 | |
| 336 | @action(detail=True, methods=["post"]) |
| 337 | def start(self, request: Request, **kwargs: object) -> Response: |
| 338 | with transaction.atomic(): |
| 339 | response = self._transition_status(ExperimentStatus.RUNNING) |
| 340 | if status.is_success(response.status_code): |
| 341 | enable_experiment_rollout( |
| 342 | self.get_object(), AuthorData.from_request(request) |
| 343 | ) |
| 344 | return response |
| 345 | |
| 346 | @action(detail=True, methods=["post"]) |
| 347 | def pause(self, request: Request, **kwargs: object) -> Response: |
no test coverage detected