Commit 4ac4ceb
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
parameter 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 bfb32c5 commit 4ac4ceb
1 file changed
+7
-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 | + | |
271 | 277 | | |
272 | 278 | | |
273 | 279 | | |
| |||
319 | 325 | | |
320 | 326 | | |
321 | 327 | | |
| 328 | + | |
322 | 329 | | |
323 | 330 | | |
324 | 331 | | |
| |||
0 commit comments