MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / pause

Method pause

api/experimentation/views.py:347–348  ·  view source on GitHub ↗
(self, request: Request, **kwargs: object)

Source from the content-addressed store, hash-verified

345
346 @action(detail=True, methods=["post"])
347 def pause(self, request: Request, **kwargs: object) -> Response:
348 return self._transition_status(ExperimentStatus.PAUSED)
349
350 @action(detail=True, methods=["post"])
351 def complete(self, request: Request, **kwargs: object) -> Response:

Callers

nothing calls this directly

Calls 1

_transition_statusMethod · 0.95

Tested by

no test coverage detected