From 3181fdd30a998f02117104b14b3a41ff52cd8544 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 18 Jan 2021 16:02:38 +0100 Subject: [PATCH] mgr/orchestrator: disallow_untyped_defs = True Signed-off-by: Sebastian Wagner (cherry picked from commit c95ba878c66aae44816b1451049449685d444f0a) --- src/pybind/mgr/orchestrator/_interface.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pybind/mgr/orchestrator/_interface.py b/src/pybind/mgr/orchestrator/_interface.py index df5ece65ca659..f56e0684e9390 100644 --- a/src/pybind/mgr/orchestrator/_interface.py +++ b/src/pybind/mgr/orchestrator/_interface.py @@ -114,9 +114,6 @@ def handle_exception(prefix: str, perm: str, func: FuncT) -> FuncT: return cast(FuncT, wrapper_copy) -class InnerCliCommandCallable(Protocol): - def __call__(self, prefix: str) -> Callable[[FuncT], FuncT]: ... - class InnerCliCommandCallable(Protocol): def __call__(self, prefix: str) -> Callable[[FuncT], FuncT]: ... -- 2.39.5