From 645678c71181369dd3edd86f5d90218f4cd4e25a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 15 Dec 2017 17:40:22 +0200 Subject: Add: ApiBase.get_state method --- ick2/apibase.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ick2/apibase.py') diff --git a/ick2/apibase.py b/ick2/apibase.py index 088a2b6..c0b1aa5 100644 --- a/ick2/apibase.py +++ b/ick2/apibase.py @@ -21,6 +21,9 @@ class APIbase: def __init__(self, state): self._state = state + def get_state(self): + return self._state + def get_routes(self, path): return [ { -- cgit v1.2.1