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