Open MooseV2 opened 2 years ago
As a workaround for now, you can compose these queries manually, ie
construct_query({"exact_phrase": "-is:starred"})
This does add quotes to the query string ("-is:starred"
vs -is:starred
) but Gmail doesn't seem to mind.
I would like to construct a query with negations, such as finding messages which are NOT starred.
construct_query takes in a dictionary that supports various boolean labels, but setting them to False does not add the negation operator (
-
).Actual:
Expected: