You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, job inputs (including circuits) are returned with the GET /jobs/{id} endpoint. Since inputs can be large, it has an exclude_params parameters to not return inputs.
Many methods in runtime_job still needlessly retrieve job inputs, including job.result(). This can cause the method call to exceed the 60s session interactive timeout, which in term causes the session to become deactivated.
Steps to reproduce
Expected behavior
Every call to job_get() should exclude params except the one from job.inputs.
Suggested solutions
Instead of relying on the caller to remember to specifying exclude_params=True, it might be better to just make that the default.
Additional Information
qiskit-ibm-runtime version: 0.17.0
Python version:
Operating system:
The text was updated successfully, but these errors were encountered:
Describe the bug
By default, job inputs (including circuits) are returned with the
GET /jobs/{id}
endpoint. Since inputs can be large, it has anexclude_params
parameters to not return inputs.Many methods in
runtime_job
still needlessly retrieve job inputs, includingjob.result()
. This can cause the method call to exceed the 60s session interactive timeout, which in term causes the session to become deactivated.Steps to reproduce
Expected behavior
Every call to
job_get()
should exclude params except the one fromjob.inputs
.Suggested solutions
Instead of relying on the caller to remember to specifying
exclude_params=True
, it might be better to just make that the default.Additional Information
The text was updated successfully, but these errors were encountered: