code: def register_parallel_backend(name, factory, make_default=False):
      """Register a new Parallel backend factory.
  
      The new backend can then be selected by passing its name as the backend
      argument to the Parallel class. Moreover, the default backend can be
      overwritten globally by setting make_default=True.
  
      The factory can be any callable that takes no argument and return an
      instance of ``ParallelBackendBase``.
  
      Warning: this function is experimental and subject to change in a future
      version of joblib.
  
      .. versionadded:: 0.10
  
      """
      BACKENDS[name] = factory
      if make_default:
          global DEFAULT_BACKEND
          DEFAULT_BACKEND = name
  
imports: from __future__ import division
  import os
  import sys
  from math import sqrt
  import functools
  import time
  import threading
  import itertools
  from numbers import Integral
  from contextlib import contextmanager
  from ._multiprocessing_helpers import mp
  from .format_stack import format_outer_frames
  from .logger import Logger, short_format_time
  from .my_exceptions import TransportableException, _mk_exception
  from .disk import memstr_to_bytes
  from ._parallel_backends import FallbackToBackend, MultiprocessingBackend, ThreadingBackend, SequentialBackend
  from ._compat import _basestring
  from .func_inspect import getfullargspec
  from ._parallel_backends import AutoBatchingMixin
  from ._parallel_backends import ParallelBackendBase
label_desc: Use image node_id 6 for calling a global function with example usage: register_parallel_backend(name, factory, make_default) without return types