Skip to main content
is_version_compatible(other)[source]

Given another version, are the two compatible based on just the first two components taken into account? We don’t take the 3rd and 4th components into account since the server and the API ought to work as long as the first two components match.

TODO: Possibly add another optional parameter for taking how many

components to take into account when checking for compatibility.

Parameters

other (GPUdb.Version) –

The other version object.

Returns

True if the two are compatible, False otherwise.