Skip to content

Commit 53a78b1

Browse files
committed
fix type Never
1 parent 6e147bb commit 53a78b1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

zcache/Extras/AsyncQueue.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
from zcache.Class.AsyncDatabase import AsyncDatabase
2626
import uuid
2727
from zcache.Interface import AsyncStorageInterface
28-
from typing import Any, Optional, Union, List, Never
28+
from typing import Any, Optional, Union, List
29+
from typing_extensions import Never
2930

3031

3132
class AsyncQueue:

zcache/Extras/Queue.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
from zcache.Class.Database import Database
2626
import uuid
2727
from zcache.Interface import StorageInterface
28-
from typing import Any, Optional, Union, List, Never
28+
from typing import Any, Optional, Union, List
29+
from typing_extensions import Never
2930

3031

3132
class Queue:

0 commit comments

Comments
 (0)