Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
akihikokuroda committed Jul 25, 2024
1 parent d42cf8f commit 91bcc48
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 @@ -484,7 +484,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 @@ -643,7 +643,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 91bcc48

Please sign in to comment.