Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39375 SPIP: Spark Connect - A client and server interface for Apache Spark
  3. SPARK-40693

mypy complains accessing the variable defined in the class method

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • Connect
    • None

    Description

      This is one example:

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

      Attachments

        Activity

          People

            amaliujia Rui Wang
            amaliujia Rui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: