New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove type hinting check in transforms #4942
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4942 +/- ##
==========================================
- Coverage 99.67% 99.49% -0.19%
==========================================
Files 388 388
Lines 35418 35199 -219
==========================================
- Hits 35302 35020 -282
- Misses 116 179 +63 ☔ View full report in Codecov by Sentry. |
[sc-47760] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minimal and perfect!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks Romain! 💯
Co-authored-by: Josh Izaac <josh146@gmail.com>
**Context:** The type hinting check is removed for transforms, in order to make the transform decorator more practical. **Description of the Change:** Remove the type hinting check that would fail if the user does not respect the transform contract. The signature check between the transform and the expand transform is kept. **Benefits:** More practical for advanced users **Possible Drawbacks:** Potentially harder for beginners to create if the contract is not understood. --------- Co-authored-by: Josh Izaac <josh146@gmail.com>
**Context:** The type hinting check is removed for transforms, in order to make the transform decorator more practical. **Description of the Change:** Remove the type hinting check that would fail if the user does not respect the transform contract. The signature check between the transform and the expand transform is kept. **Benefits:** More practical for advanced users **Possible Drawbacks:** Potentially harder for beginners to create if the contract is not understood. --------- Co-authored-by: Josh Izaac <josh146@gmail.com>
Context:
The type hinting check is removed for transforms, in order to make the transform decorator more practical.
Description of the Change:
Remove the type hinting check that would fail if the user does not respect the transform contract.
The signature check between the transform and the expand transform is kept.
Benefits:
More practical for advanced users
Possible Drawbacks:
Potentially harder for beginners to create if the contract is not understood.