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
Since Qiskit/qiskit@75673c7 of Terra, close() is removed from Sampler but AerSampler has close() with assuming that docstring exists in its base class. This mismatch causes Lint error: qiskit_aer/primitives/sampler.py:161:4: C0116: Missing function or method docstring (missing-function-docstring).
Steps to reproduce the problem
Just run lint.
What is the expected behavior?
Pass Lint.
Suggested solutions
Add docstring to close() or change Sampler implementation in Aer.
The text was updated successfully, but these errors were encountered:
Informations
What is the current behavior?
Since Qiskit/qiskit@75673c7 of Terra,
close()
is removed fromSampler
butAerSampler
hasclose()
with assuming that docstring exists in its base class. This mismatch causes Lint error:qiskit_aer/primitives/sampler.py:161:4: C0116: Missing function or method docstring (missing-function-docstring)
.Steps to reproduce the problem
Just run lint.
What is the expected behavior?
Pass Lint.
Suggested solutions
Add docstring to
close()
or changeSampler
implementation in Aer.The text was updated successfully, but these errors were encountered: