From d7df20049fe3175e001a1feb60ec42b17ee3a2f0 Mon Sep 17 00:00:00 2001 From: Mehmed Mustafa Date: Tue, 1 Oct 2024 16:08:57 +0200 Subject: [PATCH] fix: integration client tests --- src/ocrd_network/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ocrd_network/client.py b/src/ocrd_network/client.py index 5a6831bea..c4315ded4 100644 --- a/src/ocrd_network/client.py +++ b/src/ocrd_network/client.py @@ -46,12 +46,12 @@ def check_job_status(self, job_id: str): def check_workflow_status(self, workflow_job_id: str): return get_ps_workflow_job_status(self.server_addr_processing, workflow_job_id=workflow_job_id) - def poll_job_status(self, job_id: str, print_state: bool) -> str: + def poll_job_status(self, job_id: str, print_state: bool = False) -> str: return poll_job_status_till_timeout_fail_or_success( ps_server_host=self.server_addr_processing, job_id=job_id, tries=self.polling_tries, wait=self.polling_wait, print_state=print_state) - def poll_workflow_status(self, job_id: str, print_state: bool) -> str: + def poll_workflow_status(self, job_id: str, print_state: bool = False) -> str: return poll_wf_status_till_timeout_fail_or_success( ps_server_host=self.server_addr_processing, job_id=job_id, tries=self.polling_tries, wait=self.polling_wait, print_state=print_state)