(datum, **kwargs)
return isinstance(datum, (bytes, bytearray))
Check that the data value is python bytes type

    Parameters
    ----------
    datum: Any
        Data being validated
    kwargs: Any
        Unused kwargs
Check that the data value is python bytes type
Check that the data value is python bytes type
def validate_bytes(datum, **kwargs):
    """
    Check that the data value is python bytes type

    Parameters
    ----------
    datum: Any
        Data being validated
    kwargs: Any
        Unused kwargs
    """
    return isinstance(datum, (bytes, bytearray))
def validate_bytes ( datum , * * kwargs ) : return isinstance ( datum , ( bytes , bytearray ) )