synced with master including #153 supporting search for UID ranges

This commit is contained in:
2018-10-18 13:15:22 -04:00
parent 0f8abf3e4a
commit 76fc7bfe8c
2 changed files with 2 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ Usage
inbox_messages_subject_christmas = imbox.messages(subject='Christmas')
# Messages whose UID is greater than 1050
inbox_messages_subject_christmas = imbox.messages(uid__range='1050:*')
inbox_messages_uids_greater_than_1050 = imbox.messages(uid__range='1050:*')
# Messages from a specific folder
messages_in_folder_social = imbox.messages(folder='Social')

View File

@@ -18,6 +18,7 @@ class Messages:
'date__lt': '(BEFORE "{}")',
'date__on': '(ON "{}")',
'subject': '(SUBJECT "{}")',
'uid_range': '(UID {})',
}
FOLDER_LOOKUP = {}