-
Notifications
You must be signed in to change notification settings - Fork 297
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 pandera plugin for 0.20 #2545
Conversation
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
@@ -7,7 +7,7 @@ | |||
|
|||
|
|||
def test_pandera_dataframe_type_hints(): | |||
class InSchema(pandera.SchemaModel): | |||
class InSchema(pandera.DataFrameModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we set a lower bound in the setup.py?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm, this is a unit test
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2545 +/- ##
===========================================
- Coverage 84.74% 55.81% -28.93%
===========================================
Files 315 226 -89
Lines 24142 21093 -3049
Branches 3666 3681 +15
===========================================
- Hits 20458 11774 -8684
- Misses 3025 8830 +5805
+ Partials 659 489 -170 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com> Signed-off-by: bugra.gedik <bugra.gedik@predera.ai>
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com> Signed-off-by: Jan Fiedler <jan@union.ai>
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com> Signed-off-by: mao3267 <chenvincent610@gmail.com>
Tracking issue
Closes flyteorg/flyte#999
Why are the changes needed?
Pandera's
SchemaModel
API was removed in 0.20What changes were proposed in this pull request?
Use the newer
DataFrameModel
in tests.