-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[MAINTENANCE] Update import path for UnexpectedRowsExpectation #10234
[MAINTENANCE] Update import path for UnexpectedRowsExpectation #10234
Conversation
✅ Deploy Preview for niobium-lead-7998 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #10234 +/- ##
===========================================
+ Coverage 79.00% 79.61% +0.61%
===========================================
Files 454 454
Lines 39458 39458
===========================================
+ Hits 31174 31416 +242
+ Misses 8284 8042 -242 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -28,7 +28,7 @@ | |||
|
|||
# <snippet name="docs/docusaurus/docs/snippets/unexpected_row_expectation.py define_custom_expectation"> | |||
class UnexpectedTripDistance(UnexpectedRowsExpectation): | |||
unexpected_rows_query = """ | |||
unexpected_rows_query: str = """ |
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.
mypy doesn't understand this as a field without the type hint 🤷
We want to be able to import
UnexpectedRowsExpectation
the way we do other Expectations.invoke lint
(usesruff format
+ruff check
)For more information about contributing, see Contribute.
After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!