

def get_value_for_datastore(self, model_instance):
    logging.info(('get: Got type ' + str(type(model_instance))))
    cred = super(CredentialsProperty, self).get_value_for_datastore(model_instance)
    if (cred is None):
        cred = ''
    else:
        cred = self.to_json()
    return db.Blob(cred)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/google-api-python-client/oauth2client/appengine.py CredentialsProperty.get_value_for_datastore/VarMisuse@63/87 `cred`->`self`