File: tasks_filter.rst

package info (click to toggle)
flower 0.8.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,636 kB
  • ctags: 447
  • sloc: python: 2,474; makefile: 171
file content (19 lines) | stat: -rw-r--r-- 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Tasks filtering
===============

By now, tasks can be filtered by worker, type, state, received and started datetime.
Also, filtering by args/kwargs/result value available.

Task filter syntax
------------------

Flower uses github-style syntax for args/kwargs/result filtering.

 - `foo` find all tasks containing foo in args, kwargs or result
 - `args:foo` find all tasks containing foo in arguments
 - `kwargs:foo=bar` find all tasks containing foo=bar keyword
 - `result:foo` find all tasks containing foo in result

If the search term contains spaces it should be enclosed in " (e.g. `args:"hello world"`).

For examples, see `tests/utils/test_search.py`.