code: def experimental(fn: Callable) -> Callable:
      """Decorator to flag a feature as experimental.
  
      An experimental feature trigger a warning when used as it might be subject to breaking changes in the future.
      Warnings can be disabled by setting the environment variable `HF_EXPERIMENTAL_WARNING` to `0`.
  
      Args:
          fn (`Callable`):
              The function to flag as experimental.
  
      Returns:
          `Callable`: The decorated function.
  
      Example:
  
      ```python
      >>> from huggingface_hub.utils import experimental
  
      >>> @experimental
      ... def my_function():
      ...     print("Hello world!")
  
      >>> my_function()
      UserWarning: 'my_function' is experimental and might be subject to breaking changes in the future. You can disable
      this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.
      Hello world!
      ```
      """
      # For classes, put the "experimental" around the "__new__" method => __new__ will be removed in warning message
      name = (
          fn.__qualname__[: -len(".__new__")]
          if fn.__qualname__.endswith(".__new__")
          else fn.__qualname__
      )
  
      @wraps(fn)
      def _inner_fn(*args, **kwargs):
          if not constants.HF_HUB_DISABLE_EXPERIMENTAL_WARNING:
              warnings.warn(
                  f"'{name}' is experimental and might be subject to breaking changes in the future."
                  " You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment"
                  " variable.",
                  UserWarning,
              )
          return fn(*args, **kwargs)
  
      return _inner_fn
  
imports: import warnings
  from functools import wraps
  from typing import Callable
  from ..None import constants
label_desc: Use image node_id 1 for calling a global function with example usage: experimental(fn) and returns: _inner_fn, fn