'How many retries to attempt on the transaction.
The exact retry logic is implemented in higher level run-in-transaction
implementations.
Raises: datastore_errors.BadArgumentError if value is not an integer or
is not greater than zero.'

@ConfigOption
def retries(value):

    datastore_types.ValidateInteger(value, 'retries', datastore_errors.BadArgumentError, zero_ok=True)
    return value
