

def write(self, data, ctx):
    'Write data.\n\n    Args:\n      data: actual data yielded from handler. Type is writer-specific.\n      ctx: an instance of context.Context.\n    '
    if (ctx.get_pool('records_pool') is None):
        ctx.register_pool('records_pool', RecordsPool(self._filename, ctx=ctx, exclusive=True))
    self.get_pool('records_pool').append(str(data))

dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/mapreduce/output_writers.py FileRecordsOutputWriter.write/VarMisuse@53/121 `ctx`->`self`