From 4fe1344696ebe04d976c341a20af6cb807a6db15 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 23 Nov 2018 14:45:34 +0100 Subject: [PATCH] qa/mgr/dashboard: Fix type annotation error. Also removed unused import Signed-off-by: Sebastian Wagner --- qa/tasks/mgr/dashboard/helper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qa/tasks/mgr/dashboard/helper.py b/qa/tasks/mgr/dashboard/helper.py index 04e6ea7b391..656fcec346c 100644 --- a/qa/tasks/mgr/dashboard/helper.py +++ b/qa/tasks/mgr/dashboard/helper.py @@ -8,7 +8,6 @@ try: from collections.abc import namedtuple except ImportError: from collections import namedtuple -import threading import time import requests @@ -409,7 +408,7 @@ JTuple = namedtuple('JList', ['elem_typs']) class JObj(namedtuple('JObj', ['sub_elems', 'allow_unknown', 'none'])): def __new__(cls, sub_elems, allow_unknown=False, none=False): """ - :type sub_elems: dict[str, JAny | JLeaf | JList | JObj] + :type sub_elems: dict[str, JAny | JLeaf | JList | JObj | type] :type allow_unknown: bool :return: """