Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[PyOV] Update Python API stub files (#33991)

sys-openvino-ci1f913cf303c5
diff --git a/src/bindings/python/src/openvino/_ov_api.pyi b/src/bindings/python/src/openvino/_ov_api.pyi
index 8389fba57f4..55a49bc66a4 100644
--- a/src/bindings/python/src/openvino/_ov_api.pyi
+++ b/src/bindings/python/src/openvino/_ov_api.pyi
@@ -273,9 +273,10 @@ class Core(openvino._pyopenvino.Core):
"""
Core class represents OpenVINO runtime Core entity.
- User applications can create several Core class instances. In that case
- the device plugins will still share underlying resources (such as OCL context)
- in per-device singleton.
+ User applications can create several Core class instances, but in this
+ case, the underlying plugins are created multiple times and not shared
+ between several Core instances. The recommended way is to have a single
+ Core instance per application.
"""
def compile_model(self, model: typing.Union[openvino._ov_api.Model, str, pathlib.Path], device_name: typing.Optional[str] = None, config: typing.Optional[dict[str, typing.Any]] = None, *, weights: typing.Optional[bytes] = None) -> CompiledModel: