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): More accurate from_dicts typing/signature #19322

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

alexander-beedie
Copy link
Collaborator

@alexander-beedie alexander-beedie commented Oct 19, 2024

Closes #19234.

We actually accept an Iterable for the "data" param, not just a Sequence.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Oct 19, 2024
Copy link

codecov bot commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.23%. Comparing base (dbc8368) to head (3dd282a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19322      +/-   ##
==========================================
- Coverage   80.24%   80.23%   -0.01%     
==========================================
  Files        1523     1523              
  Lines      209524   209524              
  Branches     2434     2434              
==========================================
- Hits       168127   168116      -11     
- Misses      40842    40853      +11     
  Partials      555      555              

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

@ritchie46 ritchie46 merged commit b60b4bf into pola-rs:main Oct 20, 2024
15 checks passed
@alexander-beedie alexander-beedie deleted the improve-fromdicts-typing branch October 20, 2024 10:40
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.

Change TypeHint on pl.from_dicts to Iterator[dict[str, Any]] from Sequence[dict[str, Any]]
2 participants