

def _put(self, **ctx_options):
    "Write this entity to the datastore.\n\n    If the operation creates or completes a key, the entity's key\n    attribute is set to the new, complete key.\n\n    Returns:\n      The key for the entity.  This is always a complete key.\n    "
    return self._put_async(**ctx_options).get_result()

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Model._put/original