]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/database.py
python: Add UNSORTED as Query.SORT option
[notmuch] / bindings / python / notmuch / database.py
index f141c03ef462b813be27ca58a0a8a323a1e9810c..fc7edf0b57f572007f726eacd1ef5586e91a655a 100644 (file)
@@ -459,7 +459,7 @@ class Query(object):
            other unexpected behavior. See above for more details.
     """
     # constants
            other unexpected behavior. See above for more details.
     """
     # constants
-    SORT = Enum(['OLDEST_FIRST','NEWEST_FIRST','MESSAGE_ID'])
+    SORT = Enum(['OLDEST_FIRST','NEWEST_FIRST','MESSAGE_ID', 'UNSORTED'])
     """Constants: Sort order in which to return results"""
 
     """notmuch_query_create"""
     """Constants: Sort order in which to return results"""
 
     """notmuch_query_create"""