[ 
https://issues.apache.org/jira/browse/SPARK-54954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tian Gao updated SPARK-54954:
-----------------------------
    Description: 
* We should overload remote_only because it will confuse mypy.
 * We should distinguish remote and normal SparkSession
 * Do some type assertions so we don't need all the ignore comments

  was:We should overload remote_only because it will confuse mypy. The two code 
paths are distinct and we can have better stubs.


> Fix remote related type hints in pyspark/util.py
> ------------------------------------------------
>
>                 Key: SPARK-54954
>                 URL: https://issues.apache.org/jira/browse/SPARK-54954
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.2.0
>            Reporter: Tian Gao
>            Priority: Major
>              Labels: pull-request-available
>
> * We should overload remote_only because it will confuse mypy.
>  * We should distinguish remote and normal SparkSession
>  * Do some type assertions so we don't need all the ignore comments



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to