Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort by dotted order in py sdk #229

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Sort by dotted order in py sdk #229

merged 2 commits into from
Sep 19, 2023

Conversation

nfcampos
Copy link
Contributor

Same needs to be done in JS SDK

@nfcampos nfcampos changed the title Sort by sorted order in py sdk Sort by dotted order in py sdk Sep 18, 2023
@@ -719,7 +719,7 @@ def _load_child_runs(self, run: ls_schemas.Run) -> ls_schemas.Run:
list
)
runs: Dict[uuid.UUID, ls_schemas.Run] = {}
for child_run in sorted(child_runs, key=lambda r: r.execution_order):
for child_run in sorted(child_runs, key=lambda r: r.dotted_order):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fn is also something we'd change once trace ID changes are made

@hinthornw hinthornw enabled auto-merge (squash) September 18, 2023 19:53
@hinthornw hinthornw merged commit 3437c16 into main Sep 19, 2023
12 checks passed
@hinthornw hinthornw deleted the nc/sort-by-sorted-order branch September 19, 2023 03:41
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