python flask 用户 对象打印所有属性

from flask_login import current_user

user = current_user
# 如何打印user的所有属性
print(user.__dict__)