Searched refs:smart_get (Results 1 – 13 of 13) sorted by relevance
85 label_model = models.Label.smart_get(id)99 label_model = models.Label.smart_get(id)104 hosts.append(models.Host.smart_get(h.id))150 label = models.Label.smart_get(id)177 label = models.Label.smart_get(id)183 label = models.Label.smart_get(add_label(id))239 models.Label.smart_get(id).host_set.remove(*host_objs)296 host = models.Host.smart_get(id)323 models.Host.smart_get(id).update_object(kwargs)403 models.Host.smart_get(id).labels.add(*label_objs)[all …]
522 models.Host.smart_get(ipaddress).delete()540 label = models.Label.smart_get(label_name)541 host_obj = models.Host.smart_get(ipaddress)558 host_obj = models.Host.smart_get(ipaddress)559 models.Label.smart_get(label_name).host_set.remove(host_obj)
192 extra_args['params'] = [models.Label.smart_get(label).id274 test_objects = [models.Test.smart_get(test) for test in tests]278 profiler_objects = [models.Profiler.smart_get(profiler)927 return models.Shard.smart_get(shard_hostname)1037 host = models.Host.smart_get(kwargs['id'])1105 label = models.Label.smart_get(name)
27 models.AclGroup.smart_get('Everyone').hosts = []
573 dest_obj = field_obj.rel.to.smart_get(data[field_name],822 def smart_get(cls, id_or_name, valid_only=True): member in ModelExtensions847 result_objects.append(cls.smart_get(id_or_name))
603 models.Host.smart_get, host1_id)652 models.Label.smart_get, label1.id)1240 host2 = models.Host.smart_get(host2.id)1262 host1 = models.Host.smart_get(host1.id)1263 shard1 = models.Shard.smart_get(shard1.id)
277 return cls.smart_get(cls.DEFAULT_DRONE_SET_NAME)1084 def smart_get(cls, id_or_name, *args, **kwargs): member in ParameterizedJob
338 models.TestLabel.smart_get(label_id).update_object(data)342 models.TestLabel.smart_get(label_id).delete()358 models.TestLabel.smart_get(label_id).tests.add(*test_ids)362 label = models.TestLabel.smart_get(label_id)
19 models.Host.smart_get('host1').labels.add(self.label3)
448 models.Host.smart_get(1).update_object(dirty=True)453 models.Host.smart_get(1).update_object(dirty=False)
777 actual_status = models.HostQueueEntry.smart_get(1).status
244 host = models.Host.smart_get(host_id)253 host = models.Host.smart_get(host_id)
223 self._shard = models.Shard.smart_get(self.hostname)