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

[MAINTENANCE] Update import path for UnexpectedRowsExpectation #10234

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

tyler-hoffman
Copy link
Contributor

We want to be able to import UnexpectedRowsExpectation the way we do other Expectations.

  • Description of PR changes above includes a link to an existing GitHub issue
  • PR title is prefixed with one of: [BUGFIX], [FEATURE], [DOCS], [MAINTENANCE], [CONTRIB]
  • Code is linted - run invoke lint (uses ruff format + ruff check)
  • Appropriate tests and docs have been updated

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!

@tyler-hoffman tyler-hoffman changed the title Update import path for UnexpectedRowsExpectation [MAINTENANCE] Update import path for UnexpectedRowsExpectation Aug 19, 2024
Copy link

netlify bot commented Aug 19, 2024

Deploy Preview for niobium-lead-7998 ready!

Name Link
🔨 Latest commit 0861218
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/66c36a20eea2e20008ba862a
😎 Deploy Preview https://deploy-preview-10234.docs.greatexpectations.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.61%. Comparing base (7314bd0) to head (0861218).
Report is 2 commits behind head on develop.

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     
Flag Coverage Δ
3.10 66.26% <100.00%> (ø)
3.10 athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds ?
3.10 aws_deps ?
3.10 big ?
3.10 databricks ?
3.10 filesystem ?
3.10 mssql ?
3.10 mysql ?
3.10 postgresql ?
3.10 snowflake ?
3.10 spark ?
3.10 trino ?
3.11 66.24% <100.00%> (-0.02%) ⬇️
3.11 athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds ?
3.11 aws_deps ?
3.11 big ?
3.11 databricks ?
3.11 filesystem ?
3.11 mssql ?
3.11 mysql ?
3.11 postgresql ?
3.11 snowflake ?
3.11 spark ?
3.11 trino ?
3.12 64.80% <100.00%> (-0.02%) ⬇️
3.12 aws_deps 45.83% <100.00%> (ø)
3.12 big 54.49% <100.00%> (ø)
3.12 filesystem 60.43% <100.00%> (ø)
3.12 mssql 49.93% <100.00%> (ø)
3.12 mysql 50.00% <100.00%> (ø)
3.12 postgresql 54.08% <100.00%> (ø)
3.12 spark 57.55% <100.00%> (ø)
3.12 trino 52.15% <100.00%> (ø)
3.8 66.30% <100.00%> (ø)
3.8 athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds 54.63% <100.00%> (ø)
3.8 aws_deps 45.85% <100.00%> (ø)
3.8 big 54.51% <100.00%> (ø)
3.8 databricks 47.06% <100.00%> (ø)
3.8 filesystem 60.44% <100.00%> (ø)
3.8 mssql 49.92% <100.00%> (ø)
3.8 mysql 49.98% <100.00%> (ø)
3.8 postgresql 54.07% <100.00%> (ø)
3.8 snowflake 47.98% <100.00%> (ø)
3.8 spark 57.52% <100.00%> (ø)
3.8 trino 52.14% <100.00%> (ø)
3.9 66.26% <100.00%> (-0.02%) ⬇️
3.9 athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds ?
3.9 aws_deps ?
3.9 big ?
3.9 databricks ?
3.9 filesystem ?
3.9 mssql ?
3.9 mysql ?
3.9 postgresql ?
3.9 snowflake ?
3.9 spark ?
3.9 trino ?
cloud 0.00% <0.00%> (?)
docs-basic 49.70% <100.00%> (?)
docs-creds-needed 50.03% <100.00%> (?)
docs-spark 48.72% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@@ -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 = """
Copy link
Contributor Author

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 🤷

@tyler-hoffman tyler-hoffman added this pull request to the merge queue Aug 19, 2024
Merged via the queue into develop with commit da9e742 Aug 19, 2024
66 checks passed
@tyler-hoffman tyler-hoffman deleted the m/_/unexpected_rows_expectation_import branch August 19, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants