(self)
| 227 | lookup_url_kwarg = "experiment_id" |
| 228 | |
| 229 | def get_serializer_context(self) -> dict[str, Any]: |
| 230 | context = super().get_serializer_context() |
| 231 | context["environment"] = self._get_environment() |
| 232 | return context |
| 233 | |
| 234 | def get_serializer_class(self) -> type[BaseSerializer[Experiment]]: |
| 235 | if self.action == "retrieve": |
no test coverage detected