From d47084224963637098f7e9a4cc29908bebe82513 Mon Sep 17 00:00:00 2001 From: Aaron Hritz Date: Thu, 11 Jan 2024 16:08:37 -0800 Subject: [PATCH] Update docstrings.py - Fixed param type (parent) 'parent' option in monitor_docstring definition incorrectly listed as string. Integer required. Does not support a monitor friendly name. --- uptime_kuma_api/docstrings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uptime_kuma_api/docstrings.py b/uptime_kuma_api/docstrings.py index c42c3d2..f6ffebf 100644 --- a/uptime_kuma_api/docstrings.py +++ b/uptime_kuma_api/docstrings.py @@ -18,7 +18,7 @@ def monitor_docstring(mode) -> str: return f""" :param MonitorType{", optional" if mode == "edit" else ""} type: Monitor Type :param str{", optional" if mode == "edit" else ""} name: Friendly Name - :param str, optional parent: Id of the monitor group, defaults to None + :param int, optional parent: Id of the monitor group, defaults to None :param str, optional description: Description, defaults to None :param int, optional interval: Heartbeat Interval, defaults to 60 :param int, optional retryInterval: Retry every X seconds, defaults to 60