def get_notification_preferences(self):
    from app.modules.notifications.models import UserNotificationPreferences
    preferences = UserNotificationPreferences.get_user_preferences(self)
    return preferences
def get_notification_preferences(self):
    from app.modules.notifications.models import UserNotificationPreferences
    preferences = UserNotificationPreferences.get_user_preferences(self)
    return preferences