예제 #1
0
 def _jsonify_settings(self):
     return SettingsSchema().jsonify(rb_settings.get_all())
예제 #2
0
파일: misc.py 프로젝트: javfg/indico
 def _process(self):
     return SettingsSchema(only=[
         'notification_before_days', 'notification_before_days_weekly',
         'notification_before_days_monthly', 'end_notification_daily',
         'end_notification_weekly', 'end_notification_monthly'
     ]).jsonify(rb_settings.get_all())