diff --git a/client/quantum_serverless/core/job.py b/client/quantum_serverless/core/job.py index a349008ef..fe3b393fb 100644 --- a/client/quantum_serverless/core/job.py +++ b/client/quantum_serverless/core/job.py @@ -51,6 +51,7 @@ ENV_GATEWAY_PROVIDER_VERSION, GATEWAY_PROVIDER_VERSION_DEFAULT, MAX_ARTIFACT_FILE_SIZE_MB, + ENV_JOB_ARGUMENTS, ) from quantum_serverless.core.program import Program from quantum_serverless.exception import QuantumServerlessException @@ -137,7 +138,7 @@ def run(self, program: Program, arguments: Optional[Dict[str, Any]] = None): env_vars = { **(program.env_vars or {}), **{OT_PROGRAM_NAME: program.title}, - **{"ENV_JOB_ARGUMENTS": json.dumps(arguments, cls=QiskitObjectsEncoder)}, + **{ENV_JOB_ARGUMENTS: json.dumps(arguments, cls=QiskitObjectsEncoder)}, } job_id = self._job_client.submit_job(