def METHOD_NAME(f, unused_opts, args, kwargs, unused_function_ctx):
  """Mock version of api.converted_call."""
  self.dynamic_calls.append((args, kwargs))
  if kwargs is None:
    kwargs = {}
  return f(*args, **kwargs)