code: def disable_new_import_hook_firing_if_module_already_exists(request):
      if (
          "do_not_disable_new_import_hook_firing_if_module_already_exists"
          in request.keywords
      ):
          yield
      else:
          with mock.patch(
              "mlflow.tracking.fluent.register_post_import_hook",
              wraps=only_register,
          ):
              yield
  
imports: import sys
  from collections import namedtuple
  from io import StringIO
  from unittest import mock
  import fastai
  import lightgbm
  import pyspark
  import pyspark.ml
  import pytest
  import pytorch_lightning
  import setfit
  import sklearn
  import statsmodels
  import tensorflow
  import transformers
  import xgboost
  import mlflow
  from mlflow.utils.autologging_utils import AutologgingEventLogger, autologging_is_disabled, get_autologging_config
  from tests.autologging.fixtures import reset_stderr, test_mode_off, test_mode_on
label_desc: Use image node_id 3 for calling a global function with example usage: disable_new_import_hook_firing_if_module_already_exists(request) without return types