| 588 | |
| 589 | |
| 590 | class FeatureOwnerInputSerializer(UserIdsSerializer): |
| 591 | def add_owners(self, feature: Feature): # type: ignore[no-untyped-def] |
| 592 | user_ids = self.validated_data["user_ids"] |
| 593 | feature.owners.add(*user_ids) |
| 594 | |
| 595 | def remove_users(self, feature: Feature): # type: ignore[no-untyped-def] |
| 596 | user_ids = self.validated_data["user_ids"] |
| 597 | feature.owners.remove(*user_ids) |
| 598 | |
| 599 | |
| 600 | class FeatureGroupOwnerInputSerializer(serializers.Serializer): # type: ignore[type-arg] |
no outgoing calls
no test coverage detected
searching dependent graphs…