Skip to content

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
@codecov
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
dangotbanned added a commit to dangotbanned/polars that referenced this pull request Sep 23, 2025
Closes pola-rs#24583

Downstream in `narwhals`, we discovered the typing wasn't updated alongside the runtime support added in `1.30.0`

### Related
- pola-rs#22638
- pola-rs#19322
- narwhals-dev/narwhals#3148 (comment)
- narwhals-dev/narwhals#3148 (comment)
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