Skip to content

Commit

Permalink
fix type Never
Browse files Browse the repository at this point in the history
  • Loading branch information
guangrei committed Oct 13, 2024
1 parent 6e147bb commit 53a78b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion zcache/Extras/AsyncQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
from zcache.Class.AsyncDatabase import AsyncDatabase
import uuid
from zcache.Interface import AsyncStorageInterface
from typing import Any, Optional, Union, List, Never
from typing import Any, Optional, Union, List
from typing_extensions import Never


class AsyncQueue:
Expand Down
3 changes: 2 additions & 1 deletion zcache/Extras/Queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
from zcache.Class.Database import Database
import uuid
from zcache.Interface import StorageInterface
from typing import Any, Optional, Union, List, Never
from typing import Any, Optional, Union, List
from typing_extensions import Never


class Queue:
Expand Down

0 comments on commit 53a78b1

Please sign in to comment.