Commit d61888c
refactor(tracer): simplify async step creation by consolidating functions
- Replaced `_create_step_for_async_generator` with a direct call to `_create_and_initialize_step` to streamline async step creation.
- Updated the parameters for step initialization to enhance clarity and maintainability.
- Improved overall code readability by reducing function complexity.1 parent 16429ac commit d61888c
1 file changed
+6
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | 560 | | |
573 | 561 | | |
574 | 562 | | |
| |||
0 commit comments