Home
last modified time | relevance | path

Searched refs:model_instance (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/
Dproperty.py102 def get_value_for_datastore(self, model_instance): argument
103 return getattr(model_instance, self.name)
219 def get_value_for_datastore(self, model_instance): argument
220 value = super(PasswordProperty, self).get_value_for_datastore(model_instance)
300 def get_value_for_datastore(self, model_instance): argument
301 value = super(S3KeyProperty, self).get_value_for_datastore(model_instance)
418 def get_value_for_datastore(self, model_instance): argument
420 setattr(model_instance, self.name, self.now())
421 return super(DateTimeProperty, self).get_value_for_datastore(model_instance)
450 def get_value_for_datastore(self, model_instance): argument
[all …]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Ddatastore_range_iterators.py166 for model_instance in self._query.run(
169 yield model_instance
175 for model_instance in self._query:
176 yield model_instance
246 for model_instance in itertools.chain.from_iterable(self._iters):
247 yield model_instance
434 for model_instance in self._query.run(
437 yield model_instance
443 for model_instance in self._query:
444 yield model_instance
Djson_util.py170 def get_value_for_datastore(self, model_instance): argument
179 value = super(JsonProperty, self).get_value_for_datastore(model_instance)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/
Dtunes_db_test.py85 def AssertArtistMatches(self, model_instance, message): argument
92 self.assertEquals(str(model_instance.key()), message.artist_id)
93 self.assertEquals(str(model_instance.name), message.name)
95 def AssertAlbumMatches(self, model_instance, message): argument
102 self.assertEquals(model_instance.name, message.name)
103 self.assertEquals(str(model_instance.key()), message.album_id)
104 self.assertEquals(model_instance.released, message.released)
105 self.assertEquals(str(model_instance.artist.key()), message.artist_id)
Dtunes_db.py390 model_instance = query.fetch(fetch_size)
393 if model_instance:
394 results = [model_to_message(i) for i in model_instance]
395 if len(model_instance) == fetch_size:
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dappengine.py220 def get_value_for_datastore(self, model_instance): argument
222 self).get_value_for_datastore(model_instance)
280 def get_value_for_datastore(self, model_instance): argument
281 logger.info("get: Got type " + str(type(model_instance)))
283 self).get_value_for_datastore(model_instance)
/external/autotest/scheduler/
Dmonitor_db_functional_test.py412 def _update_instance(self, model_instance): argument
413 return type(model_instance).objects.get(pk=model_instance.pk)