We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac27e3d commit 312c23aCopy full SHA for 312c23a
1 file changed
examples/query.py
@@ -29,6 +29,11 @@
29
product="Fedora",
30
component="python-bugzilla")
31
32
+# Since 'query' is just a dict, you could set your own parameters too, like
33
+# if your bugzilla had a custom field. This will set 'status' for example,
34
+# but for common opts it's better to use build_query
35
+query["status"] = "CLOSED"
36
+
37
# query() is what actually performs the query. it's a wrapper around Bug.search
38
t1 = time.time()
39
bugs = bzapi.query(query)
0 commit comments