

def IdSet(self, value):
    if (not isinstance(value, basestring)):
        raise TypeError('ID must be a string.')
    self.UpdateFromKey(ndb.Key(Account, value))

dataset/ETHPy150Open GoogleDeveloperExperts/experts-app-backend/models/account.py Account.IdSet/original