class_docstr: A handle to a query that is executing continuously in the background as new data arrives.
  All these methods are thread-safe.
  
  .. versionadded:: 2.0.0
  
  .. versionchanged:: 3.5.0
      Supports Spark Connect.
  
  Notes
  -----
  This API is evolving.
docstr: Returns an array of the most recent [[StreamingQueryProgress]] updates for this query.
  The number of progress updates retained for each stream is configured by Spark session
  configuration `spark.sql.streaming.numRecentProgressUpdates`.
  
  .. versionadded:: 2.1.0
  
  .. versionchanged:: 3.5.0
      Supports Spark Connect.
  
  Returns
  -------
  list
      List of dict which is the most recent :class:`StreamingQueryProgress` updates
      for this query.
  
  Examples
  --------
  >>> sdf = spark.readStream.format("rate").load()
  >>> sq = sdf.writeStream.format('memory').queryName('this_query').start()
  
  Get an array of the most recent query progress updates for this query
  
  >>> sq.recentProgress
  [...]
  
  >>> sq.stop()
docstr_tok: ["Returns","an","array","of","the","most","recent","[","[","StreamingQueryProgress","]","]","updates","for","this","query",".","The","number","of","progress","updates","retained","for","each","stream","is","configured","by","Spark","session","configuration","`","spark.sql.streaming.numRecentProgressUpdates","`",".","..","versionadded",":",":","2.1.0","..","versionchanged",":",":","3.5.0","Supports","Spark","Connect",".","Returns","--","--","--","-","list","List","of","dict","which","is","the","most","recent",":","class",":","`","StreamingQueryProgress","`","updates","for","this","query",".","Examples","--","--","--","--",">",">",">","sdf","=","spark.readStream.format","(","``","rate","''",")",".load","(",")",">",">",">","sq","=","sdf.writeStream.format","(","'memory","'",")",".queryName","(","'this_query","'",")",".start","(",")","Get","an","array","of","the","most","recent","query","progress","updates","for","this","query",">",">",">","sq.recentProgress","[","...","]",">",">",">","sq.stop","(",")"]
code: def recentProgress(self) -> List[Dict[str, Any]]:
      """
      Returns an array of the most recent [[StreamingQueryProgress]] updates for this query.
      The number of progress updates retained for each stream is configured by Spark session
      configuration `spark.sql.streaming.numRecentProgressUpdates`.
  
      .. versionadded:: 2.1.0
  
      .. versionchanged:: 3.5.0
          Supports Spark Connect.
  
      Returns
      -------
      list
          List of dict which is the most recent :class:`StreamingQueryProgress` updates
          for this query.
  
      Examples
      --------
      >>> sdf = spark.readStream.format("rate").load()
      >>> sq = sdf.writeStream.format('memory').queryName('this_query').start()
  
      Get an array of the most recent query progress updates for this query
  
      >>> sq.recentProgress
      [...]
  
      >>> sq.stop()
      """
      return [json.loads(p.json()) for p in self._jsq.recentProgress()]
  
imports: import json
  from typing import Any, Dict, List, Optional
  from py4j.java_gateway import JavaObject, java_import
  from pyspark.errors import StreamingQueryException, PySparkValueError
  from pyspark.errors.exceptions.captured import StreamingQueryException
  from pyspark.sql.streaming.listener import StreamingQueryListener
label_desc: Use image node_id 8 for calling the StreamingQuery obj's underlying member method code with example usage: obj.recentProgress() and returns: unknown