def parse_version(version):
    'convert version to int'
    if (version is None):
        raise ValueError('sbe:messageSchema/@version is required')
    return int(version)
convert version to int
def parse_version(version):
    
    if (version is None):
        raise ValueError('sbe:messageSchema/@version is required')
    return int(version)