fix(py): coerce VS column to string in payments tx projection #24
Reference in New Issue
Block a user
Delete Branch "fix/py-payments-vs-string"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
float64when the column is number-formatted (which it usually is, since VS is a numeric payment reference in Czech banking).vs: 0(a JSON number), while Go'sgetValusesfmt.Sprintand always emitsvs: "0"(a string), causing afloat64(0)vsstring("0")parity diff.get_strinner helper: converts whole-number floats viaint()first (matching Go's%gminimum-digits formatting), thenstr(). Applied only to thevsfield.RawTransaction.VSis alreadystringandfmt.Sprintalready produces the correct output.Test plan
make test— 31 tests, all greenmake web+POST /flush-cache, thenmake parity—vstype diff gone🤖 Generated with Claude Code
Pull request closed