def write_object_row(self, bulk_object, exclude_readonly_data=False):
     values = _RowValues()
     bulk_object.write_to_row_values(values, exclude_readonly_data)
     values[_StringTable.Type] = _BulkObjectFactory.get_bulk_row_type(bulk_object)
     self._csv_writer.writerow(values.columns)
Esempio n. 2
0
 def write_object_row(self, bulk_object, exclude_readonly_data=False):
     values = _RowValues()
     bulk_object.write_to_row_values(values, exclude_readonly_data)
     values[_StringTable.Type] = _BulkObjectFactory.get_bulk_row_type(
         bulk_object)
     self._csv_writer.writerow(values.columns)
 def write_format_version(self):
     version_row = _RowValues()
     version_row[_StringTable.Type] = _StringTable.SemanticVersion
     version_row[_StringTable.Name] = BULK_FORMAT_VERSION
     self._csv_writer.writerow(version_row.columns)
Esempio n. 4
0
 def write_format_version(self):
     version_row = _RowValues()
     version_row[_StringTable.Type] = _StringTable.SemanticVersion
     version_row[_StringTable.Name] = BULK_FORMAT_VERSION
     self._csv_writer.writerow(version_row.columns)