def __init__(self, max_pool_size=MAX_POOL_SIZE):
    """Constructor.

    Args:
      max_pool_size: maximum pools size in bytes before flushing it to db.
    """
    self.max_pool_size = max_pool_size
    self.puts = ItemList()
    self.deletes = ItemList()
Constructor.

    Args:
      max_pool_size: maximum pools size in bytes before flushing it to db.
    
mapreduce/context.py