Skip to content

Commit

Permalink
fix: Arghhh
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Nov 17, 2020
1 parent 9d3171d commit 627402b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/aiotools/taskgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
# The original source code is taken from:
# https://github.com/edgedb/edgedb-python/blob/bcbe005/edgedb/_taskgroup.py

from __future__ import annotations

import asyncio
try:
from contextvars import ContextVar
Expand All @@ -46,7 +44,7 @@


if has_contextvars:
current_taskgroup: ContextVar[TaskGroup] = ContextVar('current_taskgroup')
current_taskgroup: ContextVar['TaskGroup'] = ContextVar('current_taskgroup')
__all__.append('current_taskgroup')


Expand Down

0 comments on commit 627402b

Please sign in to comment.