@@ -11,7 +11,7 @@ if typing.TYPE_CHECKING:
1111 import pandas
1212 import pyarrow .lib
1313 from builtins import list as lst
14- from collections .abc import Callable , Iterable , Sequence
14+ from collections .abc import Callable , Iterable , Sequence , Mapping
1515 from ._typing import ParquetFieldIdsType , IntoExpr , IntoExprColumn
1616 from duckdb import sqltypes , func
1717
@@ -749,7 +749,7 @@ class DuckDBPyRelation:
749749 def torch (self ) -> dict [str , typing .Any ]: ...
750750 def union (self , union_rel : DuckDBPyRelation ) -> DuckDBPyRelation : ...
751751 def unique (self , unique_aggr : str ) -> DuckDBPyRelation : ...
752- def update (self , set : dict [str , IntoExpr ], * , condition : IntoExpr = None ) -> None : ...
752+ def update (self , set : Mapping [str , IntoExpr ], * , condition : IntoExpr = None ) -> None : ...
753753 def value_counts (self , expression : str , groups : str = "" ) -> DuckDBPyRelation : ...
754754 def var (
755755 self , expression : str , groups : str = "" , window_spec : str = "" , projected_columns : str = ""
0 commit comments