def get_fields(self):
        """
        Returns all fields of the serializer.
        """
        fields = OrderedDict()

        for field_name, field in super().get_fields().items():
            try:
                field_name += field.field_name_suffix
            except __HOLE__:
                pass
            fields[field_name] = field
        return fields
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/utils/rest_api.py/ModelSerializer.get_fields