debug_util module

cls.debug_util.deep_str(obj) str[source]

Converts an object to its string representation, handling nested lists, dictionaries, sets, tuples, strings, and iterables.

Parameters

obj (Any object) – The object to be converted to a string representation.

Returns

The string representation of the object, including its nested structure.

Return type

str