From 7495c34766afa6d5b448f699236e732514b1bbe4 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Thu, 11 Jul 2024 16:04:40 +0200 Subject: [PATCH] cleanup,doc(inventory): Add missing docstring Add missing docstring for the _connections_compatibility method. Signed-off-by: Felix Matouschek --- plugins/inventory/kubevirt.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/inventory/kubevirt.py b/plugins/inventory/kubevirt.py index 64328c8..b83a1bb 100644 --- a/plugins/inventory/kubevirt.py +++ b/plugins/inventory/kubevirt.py @@ -423,6 +423,10 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable): self._populate_inventory(results, opts) def _connections_compatibility(self, config_data: Dict) -> None: + """ + _connections_compatibility ensures compatibility with the connection + parameter found in earlier versions of this inventory plugin (<1.5.0). + """ collection_name = "kubevirt.core" version_removed_in = "3.0.0"