(self)
return emails
Get list of emails for all users to return
Get list of emails for all users to return
Get list of emails for all users to return
def _get_list_of_emails(self) -> [str]:
        """ Get list of emails for all users to return """
        emails = list(self.users.exclude(email="").values_list('email', flat=True))
        emails += [x.strip() for x in self.other_emails.split(',') if x != '']
        return emails
def _get_list_of_emails ( self ) -> [ str ] : emails = list ( self . users . exclude ( email = "" ) . values_list ( 'email' , flat = True ) ) emails += [ x . strip ( ) for x in self . other_emails . split ( ',' ) if x != '' ] return emails