109
111
TeamParticipation.personID == Person.id)
111
117
# We want to get all participants who are themselves
112
118
# individuals, not teams:
113
119
non_active_subscribers = store.using(
120
Person, team_participation, preferred_email, auth_token).find(
116
123
TeamParticipation.teamID == self.subscriber_id,
117
124
Person.teamowner == None,
118
126
ArchiveAuthToken.person_id == None)
119
127
non_active_subscribers.order_by(Person.name)
120
128
return non_active_subscribers