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 160ff92620c6622292449e7638a32d4574f7a944
Author: Greg Stein <[email protected]>
AuthorDate: Fri Feb 20 19:46:06 2026 -0600

    add comment about serialization of the KV column
---
 v3/steve/election.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/v3/steve/election.py b/v3/steve/election.py
index ba0828a..d1feb87 100644
--- a/v3/steve/election.py
+++ b/v3/steve/election.py
@@ -112,6 +112,9 @@ class Election:
 
         self.q_issues.perform(self.eid)
         # Use an f-string to render "None" if a column is NULL.
+        # Render KV in its original TEXT column form. Parsing it to JSON,
+        # then serializing might introduce ordering issues in any dicts.
+        # This must be repeatable, so mis-ordering would be drastic.
         idata = ''.join(
             f'{i.iid}{i.title}{i.description}{i.type}{i.kv}'
             for i in self.q_issues.fetchall()

Reply via email to