code: def spark():
      return SparkSession.builder.getOrCreate()
  
file_path: statsforecast/action_files/test_spark.py
imports: import sys
  import pytest
  from pyspark.sql import SparkSession
  from .utils import pipeline, pipeline_with_level, pipeline_fitted
label_desc: Use image node_id 1 for calling a global function with example usage: spark() and returns: SparkSession