Skip to content

Commit 7f0ed23

Browse files
Ruyi-ChiangRuyi Chianghinthornw
authored
Fix: Syntax error in the code example for trace_generator_functions documentation (#755)
Issue description as below: #754 Co-authored-by: Ruyi Chiang <[email protected]> Co-authored-by: William FH <[email protected]>
1 parent fe8ea96 commit 7f0ed23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/observability/how_to_guides/trace_generator_functions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ for output in my_generator():
2828
import asyncio\n
2929
@traceable
3030
async def my_async_generator():
31-
hunk in ["Hello", "World", "!"]:
31+
for chunk in ["Hello", "World", "!"]:
3232
yield chunk\n
3333
# Stream to the user
3434
async def main():

0 commit comments

Comments
 (0)