You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2022/10/07 01:09:00 UTC

[jira] [Updated] (SPARK-40693) mypy complains accessing the variable defined in the class method

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

Rui Wang updated SPARK-40693:
-----------------------------
    Description: 
This is one example: 

for SparkConnectTestsPlanOnly, those unit tests access the remote session by `self.connect`, how mypy complains in as `error: "SparkConnectTestsPlanOnly" has no attribute "connect"  [attr-defined]`


> mypy complains accessing the variable defined in the class method 
> ------------------------------------------------------------------
>
>                 Key: SPARK-40693
>                 URL: https://issues.apache.org/jira/browse/SPARK-40693
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect
>    Affects Versions: 3.4.0
>            Reporter: Rui Wang
>            Priority: Major
>
> This is one example: 
> for SparkConnectTestsPlanOnly, those unit tests access the remote session by `self.connect`, how mypy complains in as `error: "SparkConnectTestsPlanOnly" has no attribute "connect"  [attr-defined]`



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org