From f8fea46c90c1100adb94cfe53fd96ed9571867fa Mon Sep 17 00:00:00 2001 From: Jukka Lehtosalo Date: Fri, 6 Sep 2019 15:52:48 +0100 Subject: [PATCH] Fix incompatibility with the latest typeshed stubs `__hash__` in set is now defined as `None`. --- sqlalchemy-stubs/sql/base.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlalchemy-stubs/sql/base.pyi b/sqlalchemy-stubs/sql/base.pyi index 6b504ea..75bf33d 100644 --- a/sqlalchemy-stubs/sql/base.pyi +++ b/sqlalchemy-stubs/sql/base.pyi @@ -80,4 +80,4 @@ class ColumnSet(util.ordered_column_set[ColumnElement[Any]]): # Return type of "__add__" incompatible with supertype "OrderedSet" def __add__(self, other: Iterable[ColumnElement[Any]]) -> List[ColumnElement[Any]]: ... # type: ignore def __eq__(self, other: Any) -> bool: ... - def __hash__(self) -> int: ... + def __hash__(self) -> int: ... # type: ignore