diff --git a/src/bindings/python/src/pyopenvino/utils/utils.cpp b/src/bindings/python/src/pyopenvino/utils/utils.cpp index 440292e002a..628a1765cee 100644 --- a/src/bindings/python/src/pyopenvino/utils/utils.cpp +++ b/src/bindings/python/src/pyopenvino/utils/utils.cpp @@ -34,6 +34,8 @@ py::object from_ov_any(const ov::Any& any) { // Check for unsigned int else if (any.is()) { return py::cast(any.as()); + } else if (any.is()) { + return py::cast(any.as()); } // Check for float else if (any.is()) { @@ -85,6 +87,14 @@ py::object from_ov_any(const ov::Any& any) { else if (any.is>()) { return py::cast(any.as>()); } + // Check for std::map + else if (any.is>()) { + return py::cast(any.as>()); + } + // Check for std::map + else if (any.is>()) { + return py::cast(any.as>()); + } // Check for std::vector else if (any.is>()) { auto val = any.as>();