def get_preferences(self):
        """Get preferences from /usr/cdrouter-data/etc/config.yml.

        :return: :class:`system.Preferences <system.Preferences>` object
        :rtype: system.Preferences
        """
        schema = PreferencesSchema()
        resp = self.service.get(self.base+'preferences/')
        return self.service.decode(schema, resp)
def get_preferences ( self ) : schema = PreferencesSchema ( ) resp = self . service . get ( self . base + 'preferences/' ) return self . service . decode ( schema , resp )
Get preferences from /usr/cdrouter-data/etc/config.yml.

        :return: :class:`system.Preferences <system.Preferences>` object
        :rtype: system.Preferences