code: def test_autolog_respects_disable_flag_across_import_orders():
      def test():
          from sklearn import datasets, svm
  
          iris = datasets.load_iris()
          svc = svm.SVC(C=2.0, degree=5, kernel="rbf")
          run = mlflow.start_run()
          svc.fit(iris.data, iris.target)
          mlflow.end_run()
          run_data = MlflowClient().get_run(run.info.run_id).data
          metrics, params, tags = (
              run_data.metrics,
              run_data.params,
              run_data.tags,
          )
          assert not metrics
          assert not params
          assert all("mlflow." in key for key in tags)
  
      def import_sklearn():
          import sklearn  # noqa: F401
  
      def disable_autolog():
          mlflow.sklearn.autolog(disable=True)
  
      def mlflow_autolog():
          mlflow.autolog()
  
      import_list = [import_sklearn, disable_autolog, mlflow_autolog]
  
      for func_order_list in permutations(import_list):
          for fun in func_order_list:
              fun()
          test()
  
imports: import importlib
  import logging
  import sys
  import warnings
  from concurrent.futures import ThreadPoolExecutor
  from io import StringIO
  from itertools import permutations
  from unittest import mock
  import pytest
  import mlflow
  from mlflow import MlflowClient
  from mlflow.utils import gorilla
  from mlflow.utils.autologging_utils import autologging_is_disabled, get_autologging_config, safe_patch
  from tests.autologging.fixtures import reset_stderr, test_mode_off
label_desc: Use image node_id 9 for calling a global function with example usage: test_autolog_respects_disable_flag_across_import_orders() without return types