Skip to content

Commit 8445bf8

Browse files
authored
Merge pull request #408 from samuelpx/main
Updated the Environment enum, added 'sandbox' + Corrected 'in' type-hint for ListQueryParams
2 parents 5365f6a + 47847e7 commit 8445bf8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nylas/models/application_details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Region = Literal["us", "eu"]
99
""" Literal representing the available Nylas API regions. """
1010

11-
Environment = Literal["production", "staging"]
11+
Environment = Literal["production", "staging", "development", "sandbox"]
1212
""" Literal representing the different Nylas API environments. """
1313

1414

nylas/models/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Message:
9595
"to": NotRequired[List[str]],
9696
"cc": NotRequired[List[str]],
9797
"bcc": NotRequired[List[str]],
98-
"in": NotRequired[List[str]],
98+
"in": NotRequired[str],
9999
"unread": NotRequired[bool],
100100
"starred": NotRequired[bool],
101101
"thread_id": NotRequired[str],

0 commit comments

Comments
 (0)