From: Sebastian Wagner Date: Fri, 23 Nov 2018 13:45:34 +0000 (+0100) Subject: qa/mgr/dashboard: Fix type annotation error. X-Git-Tag: v14.1.0~794^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4fe1344696ebe04d976c341a20af6cb807a6db15;p=ceph.git qa/mgr/dashboard: Fix type annotation error. Also removed unused import Signed-off-by: Sebastian Wagner --- diff --git a/qa/tasks/mgr/dashboard/helper.py b/qa/tasks/mgr/dashboard/helper.py index 04e6ea7b391a..656fcec346c5 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: """