Home
last modified time | relevance | path

Searched refs:get_or_create (Results 1 – 14 of 14) sorted by relevance

/external/autotest/frontend/afe/
Dfrontend_test_utils.py80 model.objects.get_or_create(**args)
84 attribute_object, _ = attribute_model.objects.get_or_create(**get_args)
Dmanagement.py22 admin_group, created = auth.models.Group.objects.get_or_create(
Dmodel_logic.py1350 attribute_object, _ = attribute_model.objects.get_or_create(**get_args)
1387 def get_or_create(self, **kwargs): member in ModelWithHashManager
1389 return super(ModelWithHashManager, self).get_or_create(**kwargs)
Dmodels.py422 user, _ = cls.objects.get_or_create(login=cls.AUTOTEST_SYSTEM)
/external/python/oauth2client/oauth2client/contrib/django_util/
Dstorage.py72 entity, _ = self.model_class.objects.get_or_create(
/external/autotest/frontend/
Dapache_auth.py37 user, created = models.User.objects.get_or_create(login=username)
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_storage.py109 get_or_create=mock.Mock(return_value=(entity_mock, None)))
/external/tensorflow/tensorflow/python/distribute/
Dstrategy_combinations.py304 def get_or_create(): function
316 return get_or_create
/external/rust/crates/quiche/src/
Dstream.rs222 pub(crate) fn get_or_create( in get_or_create() method
3295 .get_or_create(stream_id, &local_tp, &peer_tp, false, true) in stream_limit_auto_open()
3315 .get_or_create(stream_id, &local_tp, &peer_tp, false, true) in stream_create_out_of_order()
3331 .get_or_create(stream_id, &local_tp, &peer_tp, false, true) in stream_limit_edge()
3338 .get_or_create(stream_id, &local_tp, &peer_tp, false, true) in stream_limit_edge()
Dlib.rs6558 self.streams.get_or_create( in get_or_create_stream()
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dcontainers.py510 def get_or_create(self, key: _K) -> _V: member in MessageMap
Dmessage_test.py1885 msg.map_int32_foreign_message.get_or_create(-456)
/external/protobuf/python/google/protobuf/internal/
Dcontainers.py510 def get_or_create(self, key: _K) -> _V: member in MessageMap
Dmessage_test.py1884 msg.map_int32_foreign_message.get_or_create(-456)