code: def wraps_typed(
      wrapped: _DecoratorType,
      assigned=("__doc__", "__annotations__"),
      updated=functools.WRAPPER_UPDATES,
  ) -> typing.Callable[[_DecoratorType], _DecoratorType]:
      """
      Typed version of `functools.wraps`. Allows decorators to retain their
      return type.
      """
      return functools.wraps(
          wrapped=wrapped, assigned=assigned, updated=updated
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: wraps_typed(wrapped, assigned, updated) and returns: functools