-
Notifications
You must be signed in to change notification settings - Fork 908
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
Disable rich markup if rich handler is not present #3682
Conversation
I would like this to go in please |
Signed-off-by: Simon Brugman <[email protected]>
Just leaving a comment here we didn't forget about this PR as we discussed internally. I will shortly review this PR. |
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.
minor comments:
fmt_rich
->_format_rich
, not a big improvement but I don't think we usefmt
anywhere in the codebase- modify the method to internals
_
one, I don't think any of these should be public API at this point.
Thanks, will do |
Signed-off-by: L. R. Couto <[email protected]>
Seconding this. |
This reverts commit 802ad26.
Signed-off-by: lrcouto <[email protected]>
Reverting the previous merge I did because it broke some tests. Probably gonna need a rebase because of the DCO issue though. |
kedro/logging.py
Outdated
@@ -54,3 +55,15 @@ def __init__(self, *args: Any, **kwargs: Any): | |||
# fixed on their side at some point, but until then we disable it. | |||
# See https://github.com/Textualize/rich/issues/2455 | |||
rich.traceback.install(**traceback_install_kwargs) # type: ignore[arg-type] | |||
|
|||
|
|||
# @cache is supported from 3.9 onwards |
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.
Nit: I would just leave out this comment; pyupgrade will take care of it when drop 3.8.
Signed-off-by: lrcouto <[email protected]>
Signed-off-by: lrcouto <[email protected]>
Signed-off-by: lrcouto <[email protected]>
Signed-off-by: lrcouto <[email protected]>
Signed-off-by: Nok <[email protected]>
Description
Fix for #3626
Only used in Data Catalog (2x)
Done in Github UI to start the discussion.
Will add unit tests, and add release notes.
Developer Certificate of Origin
We need all contributions to comply with the Developer Certificate of Origin (DCO). All commits must be signed off by including a
Signed-off-by
line in the commit message. See our wiki for guidance.If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.
Checklist
RELEASE.md
file