(self)
return owners
:return: List combining user_ids and case sharing group ids
:return: List combining user_ids and case sharing group ids
: return : List combining user_ids and case sharing group ids
def owners_needing_data(self):
        """
        :return: List combining user_ids and case sharing group ids
        """
        user_to_groups = self.user_id_to_groups
        owners = set()
        for user_id in self.users_needing_data:
            owners.add(user_id)
            owners = owners.union(user_to_groups.get(user_id, set()))

        return owners
def owners_needing_data ( self ) : user_to_groups = self . user_id_to_groups owners = set ( ) for user_id in self . users_needing_data : owners . add ( user_id ) owners = owners . union ( user_to_groups . get ( user_id , set ( ) ) ) return owners