-
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
[FEATURE] Add include_rendered_content
to get_expectation_suite
and get_validation_result
#5853
[FEATURE] Add include_rendered_content
to get_expectation_suite
and get_validation_result
#5853
Conversation
…f InlineRenderer public methods
✅ Deploy Preview for niobium-lead-7998 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
👇 Click on the image for a new way to code review
Legend |
… always needing to be contained in a Suite
…' of github.com:great-expectations/great_expectations into feature/GREAT-911/include_rendered_content_on_store_get
…correct include_rendered_content
…' of github.com:great-expectations/great_expectations into feature/GREAT-911/include_rendered_content_on_store_get
include_rendered_content
to get_expectation_suite
and get_validation_result
include_rendered_content
to get_expectation_suite
and get_validation_result
…' of github.com:great-expectations/great_expectations into feature/GREAT-911/include_rendered_content_on_store_get
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.
Looks good, just one question
"render_object": self, | ||
} | ||
module_name = "great_expectations.render.renderer.inline_renderer" | ||
inline_renderer = instantiate_class_from_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.
Could we just instantiate from the constructor e.g. inline_renderer = InlineRenderer(render_object=self)
? Or is this a point of extensibility where we would accept a 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.
This is the issue with circular imports that we spent a lot of time trying to solve about a month ago and landed on this as a solution for now.
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.
Would you mind adding a small comment here in the code with that explanation? That way if we fix the circular import issue in the future we will have a hint that we can safely remove the instantiate_class_from_config()
call
…ssed-in-as-batchspec-passthrough-spark * develop: [MAINTENANCE] increase the `pytest-timeout` timeout value during unit-testing step (#5884) [BUGFIX] JSON Serialize RowCondition and MetricBundle computation result to enable IDDict.to_id() for SparkDFExecutionEngine (#5883) [MAINTENANCE] new invoke test flags (#5880) [MAINTENANCE] Label tests in `tests/core` with `@pytest.mark.unit` and `@pytest.mark.integration` (#5879) [MAINTENANCE] add `pytest-timeout` (#5857) [BUGFIX] Ensure that `delete_expectation_suite` returns proper boolean result (#5878) [FEATURE] Add `include_rendered_content` to `get_expectation_suite` and `get_validation_result` (#5853) [MAINTENANCE] run unit-tests on a target package (#5869) Update the 'Show DataFrame to SQL times' step of expectation_gallery pipeline to not die if no SQL backend used (#5874) don't force using the stand alone mock (#5871) [MAINTENANCE] Remove vendored `marshmallow__shade` (#5866) [MAINTENANCE] Misc cleanup of `test_expectation_suite_crud.py` (#5868) [MAINTENANCE] Handle Pandas warnings in Data Assistant plots (#5863) [MAINTENANCE] Update `ExpectationSuite` CRUD on `DataContext` to recognize Cloud ids (#5836)
Changes proposed in this pull request:
include_rendered_content
tocontext.get_expectation_suite
include_rendered_content
tocontext.get_validation_result
ExpectationConfiguration
not contained in anExpectationSuite
Checkpoint
usingDataContext
variablesInlineRenderer.get_rendered_content
methods now thatExpectationSuite
s will always be saved or retrieved withrendered_content
Definition of Done