We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c28a00 commit ae8f9a5Copy full SHA for ae8f9a5
docs/graph/beta/joins.md
@@ -511,7 +511,9 @@ async def main():
511
@g.step
512
async def search(ctx: StepContext[SearchState, None, str]) -> str:
513
"""Simulate a slow search operation."""
514
- await asyncio.sleep(0.1)
+ # make the search artificially slower for 'item4' and 'item5'
515
+ search_duration = 0.1 if ctx.inputs not in {'item4', 'item5'} else 1.0
516
+ await asyncio.sleep(search_duration)
517
ctx.state.searches_completed += 1
518
return ctx.inputs
519
0 commit comments