Skip to content

refactor: Shrink Polars*Namespace(s), but more#2929

Merged
dangotbanned merged 4 commits intofix-series-namespace-typingfrom
even-shrinkier-polars-namespaces
Aug 2, 2025
Merged

refactor: Shrink Polars*Namespace(s), but more#2929
dangotbanned merged 4 commits intofix-series-namespace-typingfrom
even-shrinkier-polars-namespaces

Conversation

@dangotbanned
Copy link
Copy Markdown
Member

@dangotbanned dangotbanned commented Aug 2, 2025

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

Building on these two

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below

Going to be setting the groundwork for #2474

Basic idea is at the end of (#2451 (comment))

Trying out with the Expr|Series namespaces, since they can can use a TypeVar in any case like this:

len_chars: Method[PolarsSeries]

len_chars: Method[PolarsExpr]

@dangotbanned dangotbanned added internal polars Issue is related to polars backend labels Aug 2, 2025
@dangotbanned dangotbanned changed the title refactor(DRAFT): Shrink Polars*Namespace(s), but more refactor: Shrink Polars*Namespace(s), but more Aug 2, 2025
@dangotbanned dangotbanned marked this pull request as ready for review August 2, 2025 17:52
@dangotbanned dangotbanned merged commit 299f2fb into fix-series-namespace-typing Aug 2, 2025
33 checks passed
@dangotbanned dangotbanned deleted the even-shrinkier-polars-namespaces branch August 2, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal polars Issue is related to polars backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant