From 117f9e06d2df625c4f6d53798107dc9b5568f62f Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Thu, 5 Oct 2023 13:58:31 +0200 Subject: [PATCH] make warning in infoblox service pydoc more explicit --- gso/services/infoblox.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gso/services/infoblox.py b/gso/services/infoblox.py index 6f52679b..c1480074 100644 --- a/gso/services/infoblox.py +++ b/gso/services/infoblox.py @@ -73,8 +73,11 @@ def hostname_available(hostname: str) -> bool: """Check whether a hostname is still available **in Infoblox**. Check whether Infoblox already contains a :class:`infoblox_client.objects.HostRecord` that matches the given - hostname. Be aware that this method only checks within the Infoblox instance, and not the rest of the internet. - The hostname could therefore still be taken elsewhere. + hostname. + + .. warning:: + This method only checks within the Infoblox instance, and not the rest of the internet. The hostname could + therefore still be taken elsewhere. :param hostname: The hostname to be checked. :type hostname: str -- GitLab