Skip to content

Commit

Permalink
fix a typo in python sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
udsamani committed Jul 5, 2024
1 parent 36f2b01 commit 2d5872e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/bacalhau_sdk/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2d5872e

Please sign in to comment.