def Query(self, kind, selected, qfilter): assert kind == constants.QR_JOB assert selected == ["id", "status", "summary"] fields = query.GetAllFields( query._GetQueryFields(query.JOB_FIELDS, selected)) return objects.QueryResponse(data=self._query_cb(qfilter), fields=fields)
def Query(self, *args): return objects.QueryResponse(fields=[])