Lines Matching refs:_fields
164 _fields = ()
191 assert self._fields, '_fields must be defined in your class'
234 assert len(row) == len(self._fields), (
236 self.__table, row, len(row), self._fields, len(self._fields)))
246 The class attribute _fields.
253 for field, row_value in itertools.izip(self._fields, row):
274 for field, value in itertools.izip(self._fields, row):
315 keys = self._fields[1:] # avoid id
367 _fields = ('id', 'job_id', 'host_id')
372 _fields = ('id', 'name', 'description', 'max_number_of_machines',
378 _fields = ('id', 'name', 'kernel_config', 'platform', 'invalid',
389 _fields = ('id', 'hostname', 'locked', 'synch_id', 'status',
466 _fields = ('id', 'job_id', 'host_id', 'status', 'meta_host',
500 new_row = [getattr(template, field) for field in cls._fields]
926 _fields = ('id', 'owner', 'name', 'priority', 'control_file',