<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _flush_ndb_puts(self, items, options):
 """Flush all NDB puts to datastore."""

    assert ndb is not None
    ndb.put_multi(items, config=self._create_config(options))