blark.summary.text_outline

blark.summary.text_outline(item: Any) str | None[source]

Get a generic multiline string representation of the given object.

Attempts to include field information for dataclasses, put list items on separate lines, and generally keep sensible indentation.

Parameters:
itemAny

The item to outline.

Returns:
formattedstr or None

The formatted result.