pola-rs / polars

Dataframes powered by a multithreaded, vectorized query engine, written in Rust
https://docs.pola.rs
Other
27.24k stars 1.67k forks source link

refactor(python): Use `cls` (not `self`) in classmethods #16303

Closed twoertwein closed 1 month ago

twoertwein commented 1 month ago

Found using pyright.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.79%. Comparing base (10d223b) to head (26e5494).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #16303 +/- ## ======================================= Coverage 80.78% 80.79% ======================================= Files 1393 1393 Lines 179362 179362 Branches 2921 2921 ======================================= + Hits 144902 144916 +14 + Misses 33957 33943 -14 Partials 503 503 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

alexander-beedie commented 1 month ago

Looks good to me; well-spotted ;) Thanks for the contribution!