code: def _simplify_arguments(arguments):
      
      if len(arguments.args) == 0:
          return arguments.kwargs
      elif len(arguments.kwargs) == 0:
          return arguments.args
      else:
          return arguments
docs: If positional or keyword arguments are empty return only one or the other.