

def _validate_key(self, key):
    'Validation for _key attribute (designed to be overridden).\n\n    Args:\n      key: Proposed Key to use for entity.\n\n    Returns:\n      A valid key.\n    '
    return self

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Model._validate_key/VarMisuse@15/77 `key`->`self`