You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/10/07 01:14:25 UTC

[GitHub] [spark] amaliujia commented on pull request #38139: [SPARK-40693] mypy complains accessing the variable defined in the class method.

amaliujia commented on PR #38139:
URL: https://github.com/apache/spark/pull/38139#issuecomment-1270979530

   Another way to fix is to define the `connect` explicitly as 
   ```
   class SparkConnectSQLTestCase(ReusedPySparkTestCase):
       """Parent test fixture class for all Spark Connect related
       test cases."""
   
       connect: RemoteSparkSession
       ....
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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