Commit edff7c1
committed
python: add optional constraint parameter to JobList
Problem: There is no way to pass extra constraints via the JobList
interface.
Add an optional constraint parameter to the JobList initializer. This
paramter takes a string in constraint query syntax which is parsed
by an instance of JobListConstraintParser. The result is then joined
with ``and`` to any other constraints before being passed to the
job-list module.1 parent f153cae commit edff7c1
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
223 | 227 | | |
224 | 228 | | |
225 | 229 | | |
| |||
253 | 257 | | |
254 | 258 | | |
255 | 259 | | |
| 260 | + | |
256 | 261 | | |
257 | 262 | | |
258 | 263 | | |
| |||
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
271 | 279 | | |
272 | 280 | | |
273 | 281 | | |
| |||
319 | 327 | | |
320 | 328 | | |
321 | 329 | | |
| 330 | + | |
322 | 331 | | |
323 | 332 | | |
324 | 333 | | |
| |||
0 commit comments