class_docstr: Class for creating and destroying SparkSession.
class_docstr_tok: ["Class","for","creating","and","destroying","SparkSession","."]
docstr: Initialize SparkSession.
docstr_tok: ["Initialize","SparkSession","."]
code: def __init__(
      self: SparkProvider,
      app_name: str,
      conf: SparkConf | None = None,
      extra_dependencies: list[str] | None = None,
      extra_files: list[str] | None = None,
  ) -> None:
      """Initialize SparkSession."""
      self.spark = self.set_up_spark(
          app_name,
          self.master,
          conf,
          extra_dependencies,
          extra_files,
      )
  
file_path: quinn/quinn/spark.py
imports: from __future__ import annotations
  import logging
  import os
  from pyspark import SparkConf
  from pyspark.sql import SparkSession
label_desc: Use image node_id 1 to create a new SparkProvider object  with example: obj = SparkProvider(app_name, conf, extra_dependencies, extra_files)