From c7cf064c21ad71bf8706da9002b0f543874c92d2 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Thu, 21 Feb 2019 17:00:35 +0800 Subject: [PATCH] updated TODO --- routes/nodes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/nodes.py b/routes/nodes.py index c07532ae..89aec371 100644 --- a/routes/nodes.py +++ b/routes/nodes.py @@ -35,6 +35,8 @@ class NodeApi(BaseApi): elif id is not None: return db_manager.get('nodes', id=id) + # TODO: use query "?status=1" to get status of nodes + # get a list of items res = requests.get('%s/workers' % FLOWER_API_ENDPOINT) online_node_ids = []