Skip to content

Commit 1812a0d

Browse files
authored
Fix signature of __arrow_c_stream__ (#1168)
1 parent 98dc06b commit 1812a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/datafusion/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ def unnest_columns(self, *columns: str, preserve_nulls: bool = True) -> DataFram
10531053
columns = list(columns)
10541054
return DataFrame(self.df.unnest_columns(columns, preserve_nulls=preserve_nulls))
10551055

1056-
def __arrow_c_stream__(self, requested_schema: pa.Schema) -> Any:
1056+
def __arrow_c_stream__(self, requested_schema: object | None = None) -> object:
10571057
"""Export an Arrow PyCapsule Stream.
10581058
10591059
This will execute and collect the DataFrame. We will attempt to respect the

0 commit comments

Comments
 (0)