def get_user_profile(self, user_id):
    return self.db.find_first_object_by(UserProfile, user_id=user_id)
def get_user_profile(self, user_id):
    return self.db.find_first_object_by(UserProfile, user_id=user_id)