Skip to content

Commit e0aed33

Browse files
Kiran RajuKiran Raju
authored andcommitted
updated changelog
1 parent 3c5714a commit e0aed33

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
nylas-python Changelog
22
======================
33

4+
**UNRELEASED**
5+
----------------
6+
* Added support for metadata_pair query params to the messages and drafts list endpoints
7+
48
v6.10.0
59
----------------
610
* Added support for `single_level` query parameter in `ListFolderQueryParams` for Microsoft accounts to control folder hierarchy traversal

nylas/models/drafts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class CreateDraftRequest(TypedDict):
143143
unread: Filter messages by unread status.
144144
starred: Filter messages by starred status.
145145
has_attachment: Filter messages by whether they have an attachment.
146-
metadata_pair: Filter messages by metadata key/value pair.
146+
metadata_pair (NotRequired[str]): Filter messages by metadata key/value pair.
147147
limit (NotRequired[int]): The maximum number of objects to return.
148148
This field defaults to 50. The maximum allowed value is 200.
149149
page_token (NotRequired[str]): An identifier that specifies which page of data to return.

nylas/models/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class Message:
160160
This field defaults to 50. The maximum allowed value is 200.
161161
page_token (NotRequired[str]): An identifier that specifies which page of data to return.
162162
This value should be taken from a ListResponse object's next_cursor parameter.
163-
metadata_pair (NotRequired[int]): Pass a metadata key/value pair (for example, ?metadata_pair=key1:value) to search for metadata associated with objects. See Metadata for more information.
163+
metadata_pair (NotRequired[str]): Pass a metadata key/value pair (for example, ?metadata_pair=key1:value) to search for metadata associated with objects. See Metadata for more information.
164164
"""
165165

166166

0 commit comments

Comments
 (0)