Skip to content

Commit

Permalink
refactor client cli: process -> run
Browse files Browse the repository at this point in the history
  • Loading branch information
MehmedGIT committed Aug 23, 2024
1 parent 18d743a commit 6608539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ocrd_network/cli/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def check_processing_job_status(address: Optional[str], processing_job_id: str):
print(f"Processing job status: {job_status}")


@processing_cli.command('processor')
@processing_cli.command('run')
@click.argument('processor_name', required=True, type=click.STRING)
@click.option('--address',
help='The address of the Processing Server. If not provided, '
Expand Down
2 changes: 1 addition & 1 deletion src/ocrd_network/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
verify_server_protocol(self.server_addr_processing)
self.polling_timeout = timeout
self.polling_wait = wait
self.polling_tries = int(timeout/wait)
self.polling_tries = int(timeout / wait)

def check_deployed_processors(self):
return get_ps_deployed_processors(ps_server_host=self.server_addr_processing)
Expand Down

0 comments on commit 6608539

Please sign in to comment.