diff --git a/cli/sparklespray/cluster_service.py b/cli/sparklespray/cluster_service.py index 256e613..b5e5bf4 100644 --- a/cli/sparklespray/cluster_service.py +++ b/cli/sparklespray/cluster_service.py @@ -381,7 +381,7 @@ def is_task_running(self, task_id): by_id = {x.task_id: x for x in self.tasks} return by_id[task_id].status == STATUS_CLAIMED - def get_summary(self, completion_rate=Optional[float]) -> str: + def get_summary(self, completion_rate: Optional[float] = None) -> str: # compute status of tasks by_status: Dict[str, int] = defaultdict(lambda: 0) for t in self.tasks: