From 5af3a975a1a0846a28ee89c081d5c50ce67a9ff8 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 22 May 2019 15:33:24 +0200 Subject: [PATCH] mgr/orchestrator: Impove type hint for describe_service Signed-off-by: Sebastian Wagner --- src/pybind/mgr/orchestrator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/orchestrator.py b/src/pybind/mgr/orchestrator.py index bdf774dbf48..7d1ce9e57e4 100644 --- a/src/pybind/mgr/orchestrator.py +++ b/src/pybind/mgr/orchestrator.py @@ -327,8 +327,8 @@ class Orchestrator(object): """ raise NotImplementedError() - def describe_service(self, service_type=None, service_id=None, node_name=None): - # type: (str, str, str) -> ReadCompletion[List[ServiceDescription]] + def describe_service(self, service_type=None, service_id=None, node_name=None, refresh=False): + # type: (Optional[str], Optional[str], Optional[str], bool) -> ReadCompletion[List[ServiceDescription]] """ Describe a service (of any kind) that is already configured in the orchestrator. For example, when viewing an OSD in the dashboard -- 2.39.5