Skip to content

Comments

Minor improvements#254

Merged
sveinse merged 2 commits intocustom-components:masterfrom
sveinse:feature-minor-improvements
Jul 28, 2025
Merged

Minor improvements#254
sveinse merged 2 commits intocustom-components:masterfrom
sveinse:feature-minor-improvements

Conversation

@sveinse
Copy link
Collaborator

@sveinse sveinse commented Jul 28, 2025

  • Use obj.qual_id instead of obj.id for logging, due to not log the full UID
  • Improve diagnostics functions. Use more natuaral language in variables
  • Improve and refactor Redactor
  • Some optimizations in api

* Use `obj.qual_id` instead of `obj.id` for logging, due to not log the full UID
* Improve diagnostics functions. Use more natuaral language in variables
* Improve and refactor Redactor
* Some optimizations in api
Copy link
Contributor

@steinmn steinmn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


def add_redact(self, obj, ctx=None, key=None, redact=None) -> str:
def dumps(self) -> str:
"""Dump the redation database in a readable format."""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""Dump the redation database in a readable format."""
"""Dump the redaction database in a readable format."""

@sveinse sveinse merged commit fcc2612 into custom-components:master Jul 28, 2025
3 checks passed
@sveinse sveinse deleted the feature-minor-improvements branch July 28, 2025 21:18
@sveinse sveinse added this to the v0.8.0 milestone Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants