code: def _write_models_step(self, model, field=None):
      
  
      model = get_model(model)
      data = guess_types(self.hashes)
  
      try:
          func = _WRITE_MODEL[model]
      except KeyError:
          func = partial(write_models, model)
  
      func(data, field)
docs: Write or update a model.