Skip to content

Commit b7349ad

Browse files
Sorting these too
1 parent 28129a4 commit b7349ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/replit_river/codegen/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ def generate_common_client(
723723
chunks.extend(
724724
[
725725
f"from .{model_name} import {class_name}"
726-
for model_name, class_name in modules
726+
for model_name, class_name in sorted(modules, key=lambda kv: kv[1])
727727
]
728728
)
729729
chunks.extend(handshake_chunks)

0 commit comments

Comments
 (0)