(self)
| 657 | return FeatureStateSerializerCreate |
| 658 | |
| 659 | def get_serializer_context(self): # type: ignore[no-untyped-def] |
| 660 | context = super().get_serializer_context() |
| 661 | if self.action in ["update", "create"]: |
| 662 | context["environment"] = self.get_environment_from_request() # type: ignore[no-untyped-call] |
| 663 | return context |
| 664 | |
| 665 | def get_queryset(self): # type: ignore[no-untyped-def] |
| 666 | """ |
nothing calls this directly
no test coverage detected