code: def transparent(method: T) -> T:
      """Decorator to wrap a method, preventing automatic variable scope wrapping.
  
      By default, all variables and modules created in a method are scoped by the
      module and method names. This is undesirable in some cases. Any method
      decorated with :func:`transparent` will create variables and modules in the
      scope in which it was called.
  
      Args:
        method: the method to wrap.
  
      Returns:
        The method, with a flag indicating no name scope wrapping should occur.
      """
      setattr(method, _APPLY_NAME_SCOPE, False)
      return method
  
imports: from collections.abc import Mapping
  import contextlib
  import functools
  import inspect
  import re
  from typing import Any, Callable, ContextManager, NamedTuple, Optional, Protocol, TypeVar
  from haiku._src import base
  from haiku._src import config
  from haiku._src import data_structures
  from haiku._src import utils
  import jax
  import jax.numpy
label_desc: Use image node_id 14 for calling a global function with example usage: transparent(method) and returns: method