-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a setter to avoid breaking Observable.return_type (#4798)
**Context:** Some plugin tests failed because they were setting this property, which I did not expect. **Description of the Change:** Add a setter to the `Observable.return_type` property to avoid breaking things in this release. Also warn if someone uses it. **Benefits:** We don't break `Observable.return_type` in this release. **Possible Drawbacks:** People can still set it? idk seems like a safe call for now. I'm not validating the type provided **Related GitHub Issues:** missed in #4762
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 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