From 7c4cc23efe15ee962ca4f23aea62f9eea07b28b8 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Tue, 17 Dec 2024 12:36:12 -0500 Subject: [PATCH] Update qiskit/primitives/primitive_job.py Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com> --- qiskit/primitives/primitive_job.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qiskit/primitives/primitive_job.py b/qiskit/primitives/primitive_job.py index 79779d5262c4..fa49cfb56a8b 100644 --- a/qiskit/primitives/primitive_job.py +++ b/qiskit/primitives/primitive_job.py @@ -48,7 +48,8 @@ def _submit(self): self._future = executor.submit(self._function, *self._args, **self._kwargs) executor.shutdown(wait=False) - def _prepare_dump(self): # This method allows PrimitiveJob to be serialized + def _prepare_dump(self): + """This method allows PrimitiveJob to be serialized""" _ = self.result() _ = self.status() self._future = None