From: Sebastian Wagner Date: Wed, 22 May 2019 13:33:24 +0000 (+0200) Subject: mgr/orchestrator: Impove type hint for describe_service X-Git-Tag: v15.1.0~2201^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5af3a975a1a0846a28ee89c081d5c50ce67a9ff8;p=ceph.git mgr/orchestrator: Impove type hint for describe_service Signed-off-by: Sebastian Wagner --- diff --git a/src/pybind/mgr/orchestrator.py b/src/pybind/mgr/orchestrator.py index bdf774dbf482..7d1ce9e57e4e 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