Searched refs:get_or_create (Results 1 – 14 of 14) sorted by relevance
/external/autotest/frontend/afe/ |
D | frontend_test_utils.py | 80 model.objects.get_or_create(**args) 84 attribute_object, _ = attribute_model.objects.get_or_create(**get_args)
|
D | management.py | 22 admin_group, created = auth.models.Group.objects.get_or_create(
|
D | model_logic.py | 1350 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)
|
D | models.py | 422 user, _ = cls.objects.get_or_create(login=cls.AUTOTEST_SYSTEM)
|
/external/python/oauth2client/oauth2client/contrib/django_util/ |
D | storage.py | 72 entity, _ = self.model_class.objects.get_or_create(
|
/external/autotest/frontend/ |
D | apache_auth.py | 37 user, created = models.User.objects.get_or_create(login=username)
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_storage.py | 109 get_or_create=mock.Mock(return_value=(entity_mock, None)))
|
/external/tensorflow/tensorflow/python/distribute/ |
D | strategy_combinations.py | 304 def get_or_create(): function 316 return get_or_create
|
/external/rust/crates/quiche/src/ |
D | stream.rs | 222 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()
|
D | lib.rs | 6558 self.streams.get_or_create( in get_or_create_stream()
|
/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | containers.py | 510 def get_or_create(self, key: _K) -> _V: member in MessageMap
|
D | message_test.py | 1885 msg.map_int32_foreign_message.get_or_create(-456)
|
/external/protobuf/python/google/protobuf/internal/ |
D | containers.py | 510 def get_or_create(self, key: _K) -> _V: member in MessageMap
|
D | message_test.py | 1884 msg.map_int32_foreign_message.get_or_create(-456)
|