def _validate_key(self, key):
    return key

  # Datastore API using the default context.
  # These use local import since otherwise they'd be recursive imports.
Validation for _key attribute (designed to be overridden).
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Model._validate_key