openfl.protocols.base_pb2_grpc

Client and server classes corresponding to protobuf-defined services.

openfl.protocols.base_pb2_grpc.first_version_is_lower(version1: str, version2: str) bool

Compares two versions in the format ‘1.60.1’ or ‘1.60.1.dev0’.

This method will be used in all stubs generated by grpcio-tools to check whether the stub version is compatible with the runtime grpcio.

Parameters:
  • version1 – The first version string.

  • version2 – The second version string.

Returns:

True if version1 is lower, False otherwise.