Exemplo n.º 1
0
 def _jsonify_settings(self):
     return SettingsSchema().jsonify(rb_settings.get_all())
Exemplo n.º 2
0
Arquivo: misc.py Projeto: 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())