Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

refactor: Use Optional for InitVar type hint#21943

Open
ruoyeruolan wants to merge1 commit intopola-rs:main
base:main
Choose a base branch
Loading
fromruoyeruolan:fix/annotation

Conversation

ruoyeruolan
Copy link

Update type hint from InitVar[list[str]] to InitVar[Optional[list[str]]] to explicitly allow None during initialization, matching the default value and improving type checker accuracy

@github-actionsgithub-actionsbot added internalAn internal refactor or improvement pythonRelated to Python Polars rustRelated to Rust Polars labelsMar 27, 2025
@codecovCodecov
Copy link

codecovbot commentedMar 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.86%. Comparing base(cdd8032) to head(d54cac4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@##             main   #21943   +/-   ##=======================================  Coverage   80.86%   80.86%           =======================================  Files        1631     1631             Lines      235490   235490             Branches     2693     2693           =======================================+ Hits       190438   190440    +2+ Misses      44419    44416    -3- Partials      633      634    +1

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

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ritchie46ritchie46Awaiting requested review from ritchie46ritchie46 is a code owner

@c-petersc-petersAwaiting requested review from c-petersc-peters is a code owner

@alexander-beediealexander-beedieAwaiting requested review from alexander-beediealexander-beedie is a code owner

@MarcoGorelliMarcoGorelliAwaiting requested review from MarcoGorelliMarcoGorelli is a code owner

@reswqareswqaAwaiting requested review from reswqareswqa is a code owner

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
internalAn internal refactor or improvementpythonRelated to Python PolarsrustRelated to Rust Polars
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ruoyeruolan

[8]ページ先頭

©2009-2025 Movatter.jp