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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17613828#comment-17613828 ] 

Apache Spark commented on SPARK-40693:
--------------------------------------

User 'amaliujia' has created a pull request for this issue:
https://github.com/apache/spark/pull/38139

> 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 mock 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