Skip to content

Commit

Permalink
async engine fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanluciano committed Nov 11, 2024
1 parent ec85769 commit f3ae6b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect/task_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ async def start(
async with self.initialize_run(
task_run_id=task_run_id, dependencies=dependencies
):
with trace.use_span(self.span):
with trace.use_span(self._span):
await self.begin_run()
try:
yield
Expand Down
Empty file added tests/test_instrumentation.py
Empty file.

0 comments on commit f3ae6b3

Please sign in to comment.