-
Notifications
You must be signed in to change notification settings - Fork 14
feat(hugr-py): Add StaticArray
to standard extensions
#1985
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1985 +/- ##
=======================================
Coverage 83.64% 83.65%
=======================================
Files 208 209 +1
Lines 38958 38993 +35
Branches 35666 35666
=======================================
+ Hits 32588 32620 +32
- Misses 4530 4533 +3
Partials 1840 1840
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Thanks!
|
||
@property | ||
def ty(self) -> tys.Type: | ||
assert isinstance( |
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.
Check that it's copyable too?
🤖 I have created a release *beep* *boop* --- ## [0.11.2](hugr-py-v0.11.1...hugr-py-v0.11.2) (2025-03-21) ### Features * add exit operation to prelude ([#2008](#2008)) ([6bd7665](6bd7665)) * Add llvm codegen for collections.static_array ([#2003](#2003)) ([f3dd145](f3dd145)) * **hugr-py:** Add `StaticArray` to standard extensions ([#1985](#1985)) ([cf860f3](cf860f3)), closes [#1984](#1984) * **hugr-py:** Support envelope compression ([#1994](#1994)) ([434c563](434c563)) ### Bug Fixes * StaticArrayValue serialisation ([#2009](#2009)) ([3fe6bf8](3fe6bf8)) ### Reverts * Revert breaking change to StaticArrayValue ([33a2b49](33a2b49)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: hugrbot <[email protected]>
Closes #1984