[ https://issues.apache.org/jira/browse/SPARK-37902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maciej Szymkiewicz resolved SPARK-37902. ---------------------------------------- Fix Version/s: 3.3.0 Resolution: Fixed Issue resolved by pull request 35199 [https://github.com/apache/spark/pull/35199] > Update annotations to resolve issues detected with mypy==0.931 > -------------------------------------------------------------- > > Key: SPARK-37902 > URL: https://issues.apache.org/jira/browse/SPARK-37902 > Project: Spark > Issue Type: Improvement > Components: PySpark > Affects Versions: 3.3.0 > Reporter: Maciej Szymkiewicz > Assignee: Maciej Szymkiewicz > Priority: Minor > Fix For: 3.3.0 > > > The following new issues are detected when type checked with {{mypy==0.931}} > {code} > python/pyspark/pandas/base.py:879: error: "Sequence[Any]" has no attribute > "tolist" [attr-defined] > python/pyspark/sql/tests/test_pandas_udf_typehints_with_future_annotations.py:268: > error: Incompatible return value type (got "floating[Any]", expected > "float") [return-value] > python/pyspark/sql/tests/test_pandas_udf_typehints.py:265: error: > Incompatible return value type (got "floating[Any]", expected "float") > [return-value] > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org