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.
This commit is contained in:
Aaron Hritz 2024-01-11 16:08:37 -08:00 committed by GitHub
parent 22ca1813ff
commit d470842249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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