From 9bf29c7d3bfdbd104b01a8c1eaeb1cb45a13f6b9 Mon Sep 17 00:00:00 2001 From: Milan Krneta Date: Thu, 2 Nov 2023 16:02:46 -0700 Subject: [PATCH] fixing hybrid job device doc string --- src/braket/jobs/hybrid_job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/braket/jobs/hybrid_job.py b/src/braket/jobs/hybrid_job.py index bb92bdb2e..ae17c2715 100644 --- a/src/braket/jobs/hybrid_job.py +++ b/src/braket/jobs/hybrid_job.py @@ -45,7 +45,7 @@ def hybrid_job( *, - device: str, + device: str | None, include_modules: str | ModuleType | Iterable[str | ModuleType] | None = None, dependencies: str | Path | list[str] | None = None, local: bool = False, @@ -73,7 +73,7 @@ def hybrid_job( `copy_checkpoints_from_job`, `stopping_condition`, `tags`, and `logger`. Args: - device (str): Device ARN of the QPU device that receives priority quantum + device (str | None): Device ARN of the QPU device that receives priority quantum task queueing once the hybrid job begins running. Each QPU has a separate hybrid jobs queue so that only one hybrid job is running at a time. The device string is accessible in the hybrid job instance as the environment variable "AMZN_BRAKET_DEVICE_ARN".