Searched refs:rowdict (Results 1 – 3 of 3) sorted by relevance
143 def _dict_to_list(self, rowdict): argument145 wrong_fields = [k for k in rowdict if k not in self.fieldnames]149 return [rowdict.get(key, self.restval) for key in self.fieldnames]151 def writerow(self, rowdict): argument152 return self.writer.writerow(self._dict_to_list(rowdict))156 for rowdict in rowdicts:157 rows.append(self._dict_to_list(rowdict))
145 def _dict_to_list(self, rowdict): argument147 wrong_fields = rowdict.keys() - self.fieldnames151 return (rowdict.get(key, self.restval) for key in self.fieldnames)153 def writerow(self, rowdict): argument154 return self.writer.writerow(self._dict_to_list(rowdict))
480 def Insert(self, table, rowdict) : argument493 for column in rowdict.keys() :502 for column, dataitem in rowdict.items():