def METHOD_NAME(*args, **kwargs):
    """Convert arguments into a short hash - for preserving args in filenames."""
    arg_string = str(args)
    kwarg_string = json.dumps(kwargs)
    full_string = arg_string + kwarg_string
    return sha256(full_string.encode()).hexdigest()[:10]