From 8bb020edc6b242d2984df1679367ae6cbfeca956 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Wed, 30 Mar 2022 14:35:07 -0400 Subject: [PATCH] moonraker: add method to retreive warnings Signed-off-by: Eric Callahan --- moonraker/moonraker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/moonraker/moonraker.py b/moonraker/moonraker.py index 56b5781..a705fe3 100755 --- a/moonraker/moonraker.py +++ b/moonraker/moonraker.py @@ -118,6 +118,9 @@ class Server: def get_api_version(self) -> Tuple[int, int, int]: return API_VERSION + def get_warnings(self) -> List[str]: + return self.warnings + def is_running(self) -> bool: return self.server_running