def row2dict(self, ar, row, fields=None, **d):
        # assert isinstance(ar,dbtables.AbstractTableRequest)
        # logger.info("20111209 Store.row2dict(%s)", dd.obj2str(row))
        if fields is None:
            fields = self.detail_fields
        for fld in fields:
            # logger.info("20140429 Store.row2dict %s", fld)
            v = fld.full_value_from_object(row, ar)
            fld.value2dict(v, d, row)
            # logger.info("20140429 Store.row2dict %s -> %s", fld, v)
        return d

    # def row2odt(self,request,fields,row,sums):
        # for i,fld in enumerate(fields):
            # if fld.field is not None:
                # v = fld.full_value_from_object(request,row)
                # if v is None:
                    # yield ''
                # else:
                    # sums[i] += fld.value2num(v)
                    # yield fld.value2odt(request,v)
dataset/ETHPy150Open lsaffre/lino/lino/core/store.py/Store.row2dict/original