code: def bg_thread(func):
      
      @functools.wraps(func)
      def wrapper(*args, **kwargs):
          p = threading.Thread(target=func, args=args, kwargs=kwargs)
          p.start()
      return wrapper
docs: A threading decorator
      :param func:
      :return: