-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove 0.26.0 deprecations * wip update unit tests * Fix lint * Update unit tests * remove "service" param from Session/Batch * run job in session if session open * Update session logic * Raise error if primitive backend != session backend * Add release note & remove global service * Update release note * Update integration tests * Update integration tests again * Address comments --------- Co-authored-by: ptristan3 <44805021+ptristan3@users.noreply.github.com>
- Loading branch information
Showing
17 changed files
with
83 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
The deprecations from the ``0.26.0`` release have been removed. | ||
|
||
- Passing a backend as a string into ``Session``, ``Batch``, | ||
``Sampler``, and ``Estimator`` is no longer valid. Use the actual backend | ||
object instead. | ||
- Passing a backend as the mode into ``SamplerV2`` or ``EstimatorV2`` used | ||
to run jobs in job mode, even if a session context manager was open. These jobs will now | ||
run inside of the open session. Additionally, if a backend that is different | ||
from the session backend is passed in as the mode, an error will be raised. | ||
- ``Service`` is no longer a valid parameter in ``Session`` and ``Batch``. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.