Skip to content

Commit 78ccad0

Browse files
committed
lint
1 parent 9745523 commit 78ccad0

File tree

1 file changed

+2
-2
lines changed
  • client/qiskit_serverless/core

1 file changed

+2
-2
lines changed

Diff for: client/qiskit_serverless/core/job.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def logs(self, job_id: str, log_type: Optional[str] = None):
488488
request=lambda: requests.get(
489489
f"{self.host}/api/{self.version}/jobs/{job_id}/logs/",
490490
headers={"Authorization": f"Bearer {self._token}"},
491-
params={"log_type": type},
491+
params={"log_type": log_type},
492492
timeout=REQUESTS_TIMEOUT,
493493
)
494494
)
@@ -675,7 +675,7 @@ def logs( # pylint: disable=unused-argument
675675
self, log_type: Optional[str] = None
676676
) -> str:
677677
"""Returns logs of the job."""
678-
return self._job_client.logs(self.job_id, type)
678+
return self._job_client.logs(self.job_id, log_type)
679679

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

0 commit comments

Comments
 (0)