def get_value_presentation(field_type, value):
    if field_type == 'date':
        return to_unix_date(value)
    if field_type == 'integer':
        return str(value)
    if field_type == 'string':
        return value
    if hasattr(value, 'name'):
        return value.name
    if (field_type is not None) or field_type.startswith('user'):
        return value.replace(' ', '_')
    return value
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/jiraSOAP2youtrack.py/get_value_presentation/operator `and` -> `or`