Skip to content

Commit

Permalink
πŸ“œπŸ€– Added by blurb_it.
Browse files Browse the repository at this point in the history
  • Loading branch information
blurb-it[bot] committed Sep 18, 2022
1 parent 20bf23b commit a2a0c57
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pass the correct ``contextvars.Context`` when a ``asyncio`` exception handler is called on behalf of a task. This adds a new ``Task`` method, ``get_context``. If this method is not found on a task object (perhaps because it is a third-party library that does not yet provide this method), the context prevailing at the time the exception handler is called is used.

0 comments on commit a2a0c57

Please sign in to comment.