sob/utilities/inspect.py
def represent(value: Any) -> str:
    """
    Returns a string representation of a value.
    """
    value_representation: str
    if isinstance(value, type):
        value_representation = qualified_name(value)
    else:
        value_type: type = type(value)
        if value_type is list:
            assert isinstance(value, list)
            value_representation = _repr_list(value)
        elif value_type is tuple:
            assert isinstance(value, tuple)
            value_representation = _repr_tuple(value)
        elif value_type is set:
            assert isinstance(value, set)
            value_representation = _repr_set(value)
        else:
            value_representation = repr(value)
    return value_representation

    Returns a string representation of a value.
    
Returns a string representation of a value.
Returns a string representation of a value .
def represent(value: Any) -> str:
    value_representation: str
    if isinstance(value, type):
        value_representation = qualified_name(value)
    else:
        value_type: type = type(value)
        if value_type is list:
            assert isinstance(value, list)
            value_representation = _repr_list(value)
        elif value_type is tuple:
            assert isinstance(value, tuple)
            value_representation = _repr_tuple(value)
        elif value_type is set:
            assert isinstance(value, set)
            value_representation = _repr_set(value)
        else:
            value_representation = repr(value)
    return value_representation
def represent ( value : Any ) -> str : value_representation : str if isinstance ( value , type ) : value_representation = qualified_name ( value ) else : value_type : type = type ( value ) if value_type is list : assert isinstance ( value , list ) value_representation = _repr_list ( value ) elif value_type is tuple : assert isinstance ( value , tuple ) value_representation = _repr_tuple ( value ) elif value_type is set : assert isinstance ( value , set ) value_representation = _repr_set ( value ) else : value_representation = repr ( value ) return value_representation
Returns a string representation of a value.
Returns a string representation of a value .
"""
    Returns a string representation of a value.
    """
value
Any