(self, domain, doc_id, doc, base_path, transform_dates=False, **kwargs)
return row
Get the value of self.item of the given doc.
        When base_path is [], doc is a form submission or case,
        when base_path is non empty, doc is a repeat group from a form submission.
        doc is a form submission or instance of a repeat group in a submission or case
Get the value of self.item of the given doc.
        When base_path is [], doc is a form submission or case,
        when base_path is non empty, doc is a repeat group from a form submission.
        doc is a form submission or instance of a repeat group in a submission or case
Get the value of self . item of the given doc . When base_path is [] doc is a form submission or case when base_path is non empty doc is a repeat group from a form submission . doc is a form submission or instance of a repeat group in a submission or case
def get_value(self, domain, doc_id, doc, base_path, transform_dates=False, **kwargs):
        """
        Get the value of self.item of the given doc.
        When base_path is [], doc is a form submission or case,
        when base_path is non empty, doc is a repeat group from a form submission.
        doc is a form submission or instance of a repeat group in a submission or case
        """
        value = super(SplitUserDefinedExportColumn, self).get_value(
            domain,
            doc_id,
            doc,
            base_path,
            transform_dates=transform_dates
        )
        if self.split_type == PLAIN_USER_DEFINED_SPLIT_TYPE:
            return value

        if not isinstance(value, str):
            return [None] * len(self.user_defined_options) + [value]

        selected = OrderedDict((x, 1) for x in value.split(" "))
        row = []
        for option in self.user_defined_options:
            row.append(selected.pop(option, None))
        row.append(" ".join(selected))
        return row
def get_value ( self , domain , doc_id , doc , base_path , transform_dates = False , * * kwargs ) : value = super ( SplitUserDefinedExportColumn , self ) . get_value ( domain , doc_id , doc , base_path , transform_dates = transform_dates ) if self . split_type == PLAIN_USER_DEFINED_SPLIT_TYPE : return value if not isinstance ( value , str ) : return [ None ] * len ( self . user_defined_options ) + [ value ] selected = OrderedDict ( ( x , 1 ) for x in value . split ( " " ) ) row = [ ] for option in self . user_defined_options : row . append ( selected . pop ( option , None ) ) row . append ( " " . join ( selected ) ) return row