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

Method add_owners

api/features/serializers.py:591–593  ·  view source on GitHub ↗
(self, feature: Feature)

Source from the content-addressed store, hash-verified

589
590class 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"]

Callers 1

add_ownersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected