Skip to content

Conversation

justinchuby
Copy link
Member

Default attribute type to INTS in convenience functions because otherwise the behavior would be BC breaking.

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@justinchuby justinchuby requested review from titaiwangms and a team as code owners August 21, 2025 19:48
@justinchuby justinchuby added this to the 0.1.7 milestone Aug 21, 2025
@justinchuby justinchuby enabled auto-merge (squash) August 21, 2025 19:49
@justinchuby justinchuby changed the title Default attribute type to INTS Default attribute type to INTS to avoid breaking BC Aug 21, 2025
Copy link

codecov bot commented Aug 21, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.33%. Comparing base (40e606f) to head (f77808e).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/onnx_ir/_convenience/__init__.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
- Coverage   76.35%   76.33%   -0.02%     
==========================================
  Files          40       40              
  Lines        4808     4809       +1     
  Branches      952      952              
==========================================
  Hits         3671     3671              
- Misses        839      840       +1     
  Partials      298      298              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@justinchuby justinchuby merged commit 80ce698 into main Aug 21, 2025
23 checks passed
@justinchuby justinchuby deleted the justinchu/ints branch August 21, 2025 19:57
justinchuby added a commit to microsoft/onnxscript that referenced this pull request Aug 22, 2025
Fixes according to onnx/ir-py#162

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants