def equal_args(*args, **kwargs):
  key = args
  if kwargs:
    key += _kwargs_separator + tuple(sorted(kwargs.items()))
  return key
Ensure that recoverable errors are retried a set number of times before giving up.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/util/memo.py/equal_args--crossover with--dataset/ETHPy150Open StackStorm/st2/st2common/st2common/transport/connection_retry_wrapper.py/ConnectionRetryWrapper.ensured