Skip to content

miniproto.security.redaction.safe_repr

safe_repr(value: object) -> str

Return a representation after recursively redacting supported secret shapes.

Parameters:

  • value (object) – Arbitrary value intended for diagnostic output.

Returns:

  • str – The safe representation of the redacted value.