[Python API] Remove extra version info from get_version (#9645)

This commit is contained in:
Anastasia Kuporosova
2022-01-13 22:38:02 +03:00
committed by GitHub
parent ec0dd6051a
commit 2944f39bac

View File

@@ -59,10 +59,7 @@ namespace py = pybind11;
std::string get_version() {
auto version = ov::get_openvino_version();
std::string version_str = std::to_string(OPENVINO_VERSION_MAJOR) + ".";
version_str += std::to_string(OPENVINO_VERSION_MINOR) + ".";
version_str += version.buildNumber;
return version_str;
return version.buildNumber;
}
PYBIND11_MODULE(pyopenvino, m) {