Skip to content

Comments

sort name of fields/toplevel objects in generated codes#30

Merged
NextFire merged 1 commit intomainfrom
deterministic-output
Feb 13, 2026
Merged

sort name of fields/toplevel objects in generated codes#30
NextFire merged 1 commit intomainfrom
deterministic-output

Conversation

@odrling
Copy link
Member

@odrling odrling commented Feb 12, 2026

so the generated code is (more) deterministic and collaborators won’t be generating insane diffs when their python version or gel server decides to return values in another order.

don’t sort args/kwargs and NamedTuple fields as it breaks existing code (and I’m hoping that in this case the order is correctly maintained.

seems to work without issue in nanapi

so the generated code is (more) deterministic and collaborators won’t be
generating insane diffs when their python version or gel server decides
to return values in another order.

don’t sort args/kwargs and NamedTuple fields as it breaks existing code
(and I’m hoping that in this case the order is correctly maintained.
@NextFire NextFire merged commit acdc25a into main Feb 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants