From 2d5872ea75e592c94bd0719dfaf044742b9d9d81 Mon Sep 17 00:00:00 2001 From: udsamani Date: Fri, 5 Jul 2024 09:25:16 +0100 Subject: [PATCH] fix a typo in python sdk --- python/bacalhau_sdk/jobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/bacalhau_sdk/jobs.py b/python/bacalhau_sdk/jobs.py index 70dbbfa84c..f0842accf5 100644 --- a/python/bacalhau_sdk/jobs.py +++ b/python/bacalhau_sdk/jobs.py @@ -44,7 +44,7 @@ def put(self, request: PutJobRequest) -> PutJobResponse: return self.orchestrator_service.put_job(request) def stop(self, job_id: str, reason: str = None) -> StopJobResponse: - return self.orchestrator_service.stop_job(id=job_id, reasone=reason) + return self.orchestrator_service.stop_job(id=job_id, reason=reason) def executions( self, @@ -90,7 +90,7 @@ def results( Returns: ListJobResultsResponse: A list of job's result(s) """ - return self.orchestrator_service.job_results(id=id) + return self.orchestrator_service.job_results(id=job_id) def get(self, job_id: str, include: str = "", limit: int = 10) -> GetJobResponse: """Get Details of a Job