code: def assign_signature(func):
      # This is intended to cover more complex signature-rewriting decorators.
      func.__signature__ = inspect.signature(func)
      return func
  
imports: import inspect
  from functools import singledispatch
label_desc: Use image node_id 1 for calling a global function with example usage: assign_signature(func) and returns: func