diff --git a/qiskit/primitives/primitive_job.py b/qiskit/primitives/primitive_job.py index 95e3768898f1..79779d5262c4 100644 --- a/qiskit/primitives/primitive_job.py +++ b/qiskit/primitives/primitive_job.py @@ -48,7 +48,7 @@ def _submit(self): self._future = executor.submit(self._function, *self._args, **self._kwargs) executor.shutdown(wait=False) - def _prepare_dump(self): + def _prepare_dump(self): # This method allows PrimitiveJob to be serialized _ = self.result() _ = self.status() self._future = None