-
Notifications
You must be signed in to change notification settings - Fork 465
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
Upgrade Great Expectations integration to 1.0.4 #3025
base: develop
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
The PR needs a round of formatting and linting. Also, it would be really nice to conduct some tests and update the current test that we have.
docs/book/component-guide/data-validators/great-expectations.md
Outdated
Show resolved
Hide resolved
src/zenml/integrations/great_expectations/steps/ge_validator.py
Outdated
Show resolved
Hide resolved
src/zenml/integrations/great_expectations/materializers/ge_materializer.py
Outdated
Show resolved
Hide resolved
src/zenml/integrations/great_expectations/data_validators/expectations.py
Show resolved
Hide resolved
@staticmethod | ||
def get_expectation_class(expectation_name: str) -> Type[Expectation]: | ||
"""Get the Great Expectation expectation class associated with this config. | ||
|
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.
Missing Args
in the docstring.
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.
Also excess Raises
.
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.
it does raise a TypeError as i dont catch the one coming from the load_and_validate_class
function
src/zenml/integrations/great_expectations/data_validators/ge_data_validator.py
Outdated
Show resolved
Hide resolved
src/zenml/integrations/great_expectations/data_validators/ge_data_validator.py
Outdated
Show resolved
Hide resolved
src/zenml/integrations/great_expectations/data_validators/expectations.py
Outdated
Show resolved
Hide resolved
src/zenml/integrations/great_expectations/data_validators/expectations.py
Outdated
Show resolved
Hide resolved
src/zenml/integrations/great_expectations/materializers/ge_materializer.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Barış Can Durak <[email protected]>
Co-authored-by: Barış Can Durak <[email protected]>
Classification template updates in |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
NLP template updates in |
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.
1 files reviewed, 1 total issue(s) found.
Note: We resolved prior Hyperlint review comments because:
We updated our inline suggestion AI.
We do this to avoid keeping outdated or irrelevant comments around. We'll leave a new review with current comments below.
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.
1 files reviewed, 1 total issue(s) found.
The style guide flagged several spelling errors that seemed like false positives. We skipped posting inline suggestions for the following words:
- [Vv]alidator
) | ||
``` | ||
|
||
The step can then be inserted into your pipeline where it can take in a pandas dataframe and a bool flag used solely for order reinforcement purposes, e.g.: | ||
The step can then be inserted into your pipeline where it can take in a pandas dataframe e.g.: |
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.
The step can then be inserted into your pipeline where it can take in a pandas dataframe e.g.: | |
The step can then be inserted into your pipeline where it can take in a pandas DataFrame e.g.: |
Issues:
- Style Guide - (Spelling-error) Did you really mean 'dataframe'?
Fix Explanation:
The correct spelling for the pandas object is 'DataFrame'. This aligns with the official pandas documentation and ensures consistency and accuracy in technical writing.
Describe changes
I upgraded great expectations to 1.0.4.
Testing
This has only been tested with a subset of Expectations on an ephemeral storage so far. Some more tests need to happen and will be done incrementally.
Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes