Skip to content

Commit b1145f2

Browse files
committed
Fix failing docs test
1 parent b65db2a commit b1145f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/graph/beta/joins.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ async def main():
139139

140140
graph = g.build()
141141
result = await graph.run(state=SimpleState())
142+
result = {k: result[k] for k in sorted(result)} # force deterministic ordering
142143
print(result)
143-
#> {'cherry': 6, 'banana': 6, 'apple': 5}
144+
#> {'apple': 5, 'banana': 6, 'cherry': 6}
144145
```
145146

146147
_(This example is complete, it can be run "as is" — you'll need to add `import asyncio; asyncio.run(main())` to run `main`)_

0 commit comments

Comments
 (0)