This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit b6a278541b77109c66a76901d640c327cc543e75
Author: Greg Stein <[email protected]>
AuthorDate: Fri Feb 27 07:40:54 2026 -0600

    refactor: return voter records as EasyDict objects in get_voters_for_email
    
    Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <[email protected]>
---
 v3/steve/election.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v3/steve/election.py b/v3/steve/election.py
index ab7e914..f99bc3b 100644
--- a/v3/steve/election.py
+++ b/v3/steve/election.py
@@ -535,7 +535,7 @@ class Election:
         "Return a list of distinct voters (pid, name, email) eligible for this 
election."
         self.q_voting_persons.perform(self.eid)
         return [
-            {'pid': row.pid, 'name': row.name, 'email': row.email}
+            edict(pid=row.pid, name=row.name, email=row.email)
             for row in self.q_voting_persons.fetchall()
         ]
 

Reply via email to