def get_user_attrs(object):
    """
    Return the attributes of an object

    :param object: the object to get attributes from
    :return: list of attributes
    """
    return [k for k in dir(object)
            if not k.startswith('__')
            and not k.endswith('__')]