moonraker: add method to retreive warnings

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-03-30 14:35:07 -04:00
parent b85f3081ab
commit 8bb020edc6
No known key found for this signature in database
GPG Key ID: 7027245FBBDDF59A
1 changed files with 3 additions and 0 deletions

View File

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