Skip to content

Commit d13711f

Browse files
author
Anton
committed
fix: Literal for python3.7
1 parent 3cb59e1 commit d13711f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

taskiq/semaphore.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import asyncio
22
import sys
3-
from typing import TYPE_CHECKING, Any, Deque, Literal
3+
from typing import TYPE_CHECKING, Any, Deque
4+
5+
from typing_extensions import Literal
46

57

68
class DequeSemaphore(asyncio.Semaphore):

0 commit comments

Comments
 (0)