Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add default context param
  • Loading branch information
westonkl committed Apr 16, 2023
commit 9054c254e8490bc244c9126fe34cc25173d4b2f2
4 changes: 2 additions & 2 deletions sentry_sdk/integrations/asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def patch_asyncio():
loop = asyncio.get_running_loop()
orig_task_factory = loop.get_task_factory()

def _sentry_task_factory(loop, coro):
# type: (Any, Any) -> Any
def _sentry_task_factory(loop, coro, context=None):
# type: (Any, Any, Any) -> Any

async def _coro_creating_hub_and_span():
# type: () -> Any
Expand Down