Skip to content
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

fix(python): Validate pl.Array shape argument types #20915

Merged
merged 5 commits into from
Jan 25, 2025

Conversation

FBruzzesi
Copy link
Contributor

Description

Closes #20914

@FBruzzesi FBruzzesi changed the title fix: check pl.Array shape argument element types fix(python): validate pl.Array shape argument types Jan 25, 2025
@FBruzzesi FBruzzesi changed the title fix(python): validate pl.Array shape argument types fix(python): Validate pl.Array shape argument types Jan 25, 2025
@github-actions github-actions bot added fix Bug fix python Related to Python Polars and removed title needs formatting labels Jan 25, 2025
Copy link

codecov bot commented Jan 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.77%. Comparing base (8552f60) to head (09efa8c).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #20915      +/-   ##
==========================================
- Coverage   79.77%   79.77%   -0.01%     
==========================================
  Files        1569     1569              
  Lines      222897   222898       +1     
  Branches     2574     2574              
==========================================
- Hits       177815   177813       -2     
- Misses      44490    44494       +4     
+ Partials      592      591       -1     

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

@FBruzzesi
Copy link
Contributor Author

CI failure unrelated to the change

Copy link
Collaborator

@alexander-beedie alexander-beedie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, makes sense; thanks 👍

@alexander-beedie alexander-beedie merged commit 2eb0109 into pola-rs:main Jan 25, 2025
14 of 15 checks passed
@FBruzzesi FBruzzesi deleted the fix/check-array-shape-type branch January 25, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Array class can be initialize with shape being a tuple of any type
2 participants