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] Add exception message to RenderedAtomicContent
failure renderer
#6795
Conversation
✅ 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 |
…-expectations/great_expectations into demo-renderer-configuration-errors
@@ -742,11 +742,13 @@ def __init__( | |||
name: Union[str, AtomicDiagnosticRendererType, AtomicPrescriptiveRendererType], | |||
value: RenderedAtomicValue, | |||
value_type: Optional[str] = None, | |||
exception: Optional[str] = None, |
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.
What is this a str
of? The class/exception name? The error message?
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 error message. I'm not sure what class name you are referring to.
renderer_fn: Callable[ | ||
..., RenderedAtomicContent | RenderedContent |
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.
If this gets reused a lot you could save this variable as a TypeAlias
RendererFn: TypeAlias = Callable[..., RenderedAtomicContent | RenderedContent
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 doesn't get reused often and I'd prefer to not declare this a type since the goal is to deprecate legacy RenderedContent
.
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.
Non-blocking questions.
…-expectations/great_expectations into demo-renderer-configuration-errors
…-expectations/great_expectations into demo-renderer-configuration-errors
Changes proposed in this pull request:
Definition of Done