Source

thwump / thwump / writing.py

Diff from to

File thwump/writing.py

 	def __init__(self, index):
 		self.index = index
 
+	@property
+	def schema(self):
+		return self.index.schema
+
 	def add_document(self, **fields):
 		self.index.collection.insert(fields)