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 type hints of pa.Field so Iterable and dict arguments actually contain type information #1901

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dolfandringa
Copy link

This fixes #1899 by specifying more complete type hints for pandera.Field. The fix is not very specific, but aims to at least pass strict type checking with pyright.

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.32%. Comparing base (812b2a8) to head (a7fe3c9).
Report is 188 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1901      +/-   ##
==========================================
- Coverage   94.28%   93.32%   -0.96%     
==========================================
  Files          91      121      +30     
  Lines        7013     9303    +2290     
==========================================
+ Hits         6612     8682    +2070     
- Misses        401      621     +220     

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

@dolfandringa
Copy link
Author

I fixed the linting issue in python 3.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant