Skip to content

Commit 36adf66

Browse files
committed
chore(typing): Add note on pyspark installed issue
Need it to start a thread
1 parent d1d58a6 commit 36adf66

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

narwhals/translate.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,9 @@ def _from_native_impl( # noqa: PLR0915
729729
raise TypeError(msg)
730730
return LazyFrame(
731731
SparkLikeLazyFrame(
732-
native_object,
732+
native_object, # NOTE: this is leaking the internal lie
733+
# error: Argument of type "DataFrame" cannot be assigned to parameter "native_dataframe" of type "SQLFrameDataFrame" in function "__init__"
734+
# "DataFrame" is not assignable to "BaseDataFrame[Any, Any, Any, Any, Any]" (reportArgumentType)
733735
backend_version=parse_version(get_pyspark()),
734736
version=version,
735737
implementation=Implementation.PYSPARK,

0 commit comments

Comments
 (0)