mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 08:58:44 +08:00
Re-enable stubtest on SQLAlchemy (#7456)
This commit is contained in:
1 parent
f9cb7c3ed4
commit
9c737f1326
3 files changed
+9
-1
No files matched your search
@@ -1,12 +1,14 @@
|
||||
from _typeshed import SupportsKeysAndGetItem
|
||||
from collections.abc import Iterable
|
||||
from typing import Generic, TypeVar, overload
|
||||
from typing_extensions import final
|
||||
|
||||
_KT = TypeVar("_KT")
|
||||
_KT2 = TypeVar("_KT2")
|
||||
_VT = TypeVar("_VT")
|
||||
_VT2 = TypeVar("_VT2")
|
||||
|
||||
@final
|
||||
class immutabledict(dict[_KT, _VT], Generic[_KT, _VT]):
|
||||
@overload
|
||||
def union(self, __dict: dict[_KT2, _VT2]) -> immutabledict[_KT | _KT2, _VT | _VT2]: ...
|
||||
|
||||
Reference in new issue
Block a user