'The deadline for any RPC issued.
If unset the system default will be used which is typically 5 seconds.
Raises:
BadArgumentError if value is not a number or is less than zero.'

@ConfigOption
def deadline(value):

    if (not isinstance(value, (int, long, float))):
        raise datastore_errors.BadArgumentError(('deadline    argument    should    be    int/long/float    (%r)' % (value,)))
    if (value <= 0):
        raise datastore_errors.BadArgumentError(('deadline    argument    should    be    >    0    (%r)' % (value,)))
    return value
