MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / writelines

Method writelines

mongoengine/fields.py:1798–1802  ·  view source on GitHub ↗
(self, lines)

Source from the content-addressed store, hash-verified

1796 self.newfile.write(string)
1797
1798 def writelines(self, lines):
1799 if not self.newfile:
1800 self.new_file()
1801 self.grid_id = self.newfile._id
1802 self.newfile.writelines(lines)
1803
1804 def read(self, size=-1):
1805 gridout = self.get()

Callers

nothing calls this directly

Calls 1

new_fileMethod · 0.95

Tested by

no test coverage detected