code: def put(self, data):
          
          self._to_put.append(data)
  
          if self.should_flush():
              self.flush()
docs: Write an item (will overwrite existing data)
  
          Parameters
          ----------
          data : dict
              Item data