Understanding the Writer run() method

The run() method is very straightforward. Based on whether recursion was specified, we call the specified writer, passing along the recursion keyword argument:

271         def run(self):
272 if self.recursion:
273 self.writer(self.output, self.header, self.data,
274 recursion=self.recursion)
275 else:
276 self.writer(self.output, self.header, self.data)