code: def spark():
      """Create spark session."""
      spark = SparkSession.builder.getOrCreate()
      yield spark
      spark.stop()
  
label_desc: Use image node_id 1 for calling a global function with example usage: spark() without return types