Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
akihikokuroda committed Jul 26, 2024
1 parent 9745523 commit 78ccad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/qiskit_serverless/core/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def logs(self, job_id: str, log_type: Optional[str] = None):
request=lambda: requests.get(
f"{self.host}/api/{self.version}/jobs/{job_id}/logs/",
headers={"Authorization": f"Bearer {self._token}"},
params={"log_type": type},
params={"log_type": log_type},
timeout=REQUESTS_TIMEOUT,
)
)
Expand Down Expand Up @@ -675,7 +675,7 @@ def logs( # pylint: disable=unused-argument
self, log_type: Optional[str] = None
) -> str:
"""Returns logs of the job."""
return self._job_client.logs(self.job_id, type)
return self._job_client.logs(self.job_id, log_type)

def filtered_logs(self, log_type: Optional[str] = None, **kwargs) -> str:
"""Returns logs of the job.
Expand Down

0 comments on commit 78ccad0

Please sign in to comment.