code: def test_enabling_autologging_does_not_throw_when_spark_hasnt_been_started(
      spark_session,
  ):
      spark_session.stop()
      mlflow.spark.autolog()
  
file_path: mlflow/tests/spark/autologging/datasource/test_spark_datasource_autologging.py
imports: import time
  from unittest import mock
  from pyspark.sql import Row
  from pyspark.sql.types import IntegerType, StructField, StructType
  import mlflow
  import mlflow.spark
  from mlflow._spark_autologging import _SPARK_TABLE_INFO_TAG_NAME
  from mlflow.utils.validation import MAX_TAG_VAL_LENGTH
  from tests.spark.autologging.utils import _assert_spark_data_logged
  from tests.tracking.integration_test_utils import _init_server
label_desc: Use image node_id 10 for calling a global function with example usage: test_enabling_autologging_does_not_throw_when_spark_hasnt_been_started(spark_session) without return types