get_string

sofia_redux.scan.utilities.utils.get_string(value, default=None)[source]

Return a string representation of the given value.

Parameters:
valuething

The value to resolve.

defaultstr, optional

The default result to return if a conversion is not possible, or value matches the UNKNOWN_STRING_VALUE.

Returns:
str