-
Notifications
You must be signed in to change notification settings - Fork 1.5k
-
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
Consider returning expectation_type as part of expectation results #574
Comments
The fields you're looking for will be available if you use The original idea was that the We did NOT originally intend for you to call:
as part of your actual deployed code. There are some pretty huge benefits to gathering up Expectations as persistent, sharable artifacts. That said, we're rethinking workflow options for exploration and validation in GE, so if you have strong preferences, please speak up. |
While the expectation suite file format has advantages when using tooling that leverages it (the web-based editor etc) it is also useful just be able to call the function directly. Calling the expectations directly seems like a perfectly fine thing to do in production code. Why introduce a new external DSL just to call a function? Supporting the expect_* methods in a first-class will allow users to layer on top in novel ways that might have different tradeoffs than the expectation suite file format. |
The expectation_type field is included in the returned data when |
I see. I'd recommend just including it unconditionally and then reducing your API surface area to not have to worry about Full context is that I'm trying to have a simple generic function that takes the result of a GE expectation (I think you call them evrs?) and creates a dagster Expectation object, which is then rendered in UI and used by tooling.
So right now we have to pass in a string of the function name in order to properly label the created expectation. It would be nasty to only have the function work if include_config=True. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Expectation config is now returned by default! |
Hi, I am facing similar issue while working with Great Expectations version 0.13.20. Any help on this would be appreciated. Below is an example: { |
It would be useful to have the metadata in the expectations suite available in the return value of an individual expectation.
e.g.:
Prints
It would be very nice to have another entry (
expectation
maybe?) that has the information that would be in the expectation_suite:Use case is building logging around ge that operates on results individually on a generic basis.
The text was updated successfully, but these errors were encountered: