code: def framework(request):
      ml_framework = request.config.getoption("--framework")
      if ml_framework == "tensorflow":
          import tensorflow as tf
  
          if tf.__version__[0] == "2":
              ml_framework = "tensorflow2"
          else:
              ml_framework = "tensorflow1"
  
      if ml_framework not in art_supported_frameworks:
          raise Exception(
              "framework value {0} is unsupported. Please use one of these valid values: {1}".format(
                  ml_framework, " ".join(art_supported_frameworks)
              )
          )
      # if utils_test.is_valid_framework(framework):
      #     raise Exception("The framework specified was incorrect. Valid options available
      #     are {0}".format(art_supported_frameworks))
      return ml_framework
  
imports: import importlib
  import json
  import logging
  import os
  import shutil
  import tempfile
  from typing import Dict, List, TYPE_CHECKING, Union
  import warnings
  import numpy
  import pytest
  import requests
  from art.data_generators import KerasDataGenerator, MXDataGenerator, PyTorchDataGenerator, TensorFlowDataGenerator, TensorFlowV2DataGenerator
  from art.defences.preprocessor import FeatureSqueezing, JpegCompression, SpatialSmoothing
  from art.estimators.classification import KerasClassifier
  from tests.utils import ARTTestFixtureNotImplemented, get_attack_classifier_pt, get_image_classifier_kr, get_image_classifier_kr_functional, get_image_classifier_kr_tf, get_image_classifier_kr_tf_functional, get_image_classifier_kr_tf_with_wildcard, get_image_classifier_mxnet_custom_ini, get_image_classifier_pt, get_image_classifier_pt_functional, get_image_classifier_tf, get_image_classifier_hf, get_image_gan_tf_v2, get_image_generator_tf_v2, get_tabular_classifier_kr, get_tabular_classifier_pt, get_tabular_classifier_scikit_list, get_tabular_classifier_tf, load_dataset, master_seed
label_desc: Use image node_id 23 for calling a global function with example usage: framework(request) and returns: ml_framework