depr: tn1 retirement#1307
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1307 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 171 171
Lines 11403 11401 -2
Branches 1481 1480 -1
=========================================
- Hits 11403 11401 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| class _Amazon(StrEnum): | ||
| SV1 = "arn:aws:braket:::device/quantum-simulator/amazon/sv1" | ||
| TN1 = "arn:aws:braket:::device/quantum-simulator/amazon/tn1" | ||
| _TN1 = "arn:aws:braket:::device/quantum-simulator/amazon/tn1" |
There was a problem hiding this comment.
Why private rather than removed?
There was a problem hiding this comment.
This is currently the pattern for all retired devices in this file. The idea is that this would prevent retired devices from showing up in API docs or IDE autocomplete, but still keep a visible record in case users were relying on it. Open to other suggestions though; probably we shouldn't just accumulate these forever.
|
Before we merge this we would also have to account for example notebooks or any other tests using this. |
The example notebooks have been updated and merged, see: amazon-braket/amazon-braket-examples#933 |
Issue #, if available:
Description of changes:
TN1 will be retired on 2026-06-26. Preparing the corresponding SDK changes here.
Testing done:
Merge Checklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.