Skip to content

Commit

Permalink
synced with master including martinrusev#153 supporting search for UI…
Browse files Browse the repository at this point in the history
…D ranges
  • Loading branch information
zevaverbach committed Oct 18, 2018
1 parent 0f8abf3 commit 76fc7bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
1 change: 1 addition & 0 deletions imbox/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Messages:
'date__lt': '(BEFORE "{}")',
'date__on': '(ON "{}")',
'subject': '(SUBJECT "{}")',
'uid_range': '(UID {})',
}

FOLDER_LOOKUP = {}
Expand Down

0 comments on commit 76fc7bf

Please sign in to comment.