From: Sebastian Wagner Date: Mon, 18 Jan 2021 15:02:38 +0000 (+0100) Subject: mgr/orchestrator: disallow_untyped_defs = True X-Git-Tag: v16.2.0~232^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3181fdd30a998f02117104b14b3a41ff52cd8544;p=ceph.git mgr/orchestrator: disallow_untyped_defs = True Signed-off-by: Sebastian Wagner (cherry picked from commit c95ba878c66aae44816b1451049449685d444f0a) --- diff --git a/src/pybind/mgr/orchestrator/_interface.py b/src/pybind/mgr/orchestrator/_interface.py index df5ece65ca65..f56e0684e939 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]: ...