code: def allowlist(f):
      """Helper that marks a callable as allowlisted."""
      if "allowlisted_module_for_testing" not in sys.modules:
          allowlisted_mod = imp.new_module(
              "allowlisted_module_for_testing"
          )
          sys.modules[
              "allowlisted_module_for_testing"
          ] = allowlisted_mod
          config.CONVERSION_RULES = (
              config.DoNotConvert("allowlisted_module_for_testing"),
          ) + config.CONVERSION_RULES
  
      f.__module__ = "allowlisted_module_for_testing"
  
imports: import contextlib
  import imp
  import inspect
  import sys
  import unittest
  import six
  from nvidia.dali._autograph.core import config
  from nvidia.dali._autograph.core import converter
  from nvidia.dali._autograph.impl import api
  from nvidia.dali._autograph.utils import hooks
label_desc: Use image node_id 1 for calling a global function with example usage: allowlist(f) without return types