@property
    def data(self):
        data = {
            'key': self.name,
            'default_value': self.default_value,
            'value': config[self.name],
            'input_type': self.input_type,
            'label': self.label,
            'help_text': self.help_text,
        }
        if self.input_type == 'choice':
            data['choices'] = self.choices
        return data
Property with all data for OPTIONS requests.
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/core/config.py/ConfigVariable.data