Skip to content

Updated the Environment enum, added 'sandbox' + Corrected 'in' type-hint for ListQueryParams #408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nylas/models/application_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Region = Literal["us", "eu"]
""" Literal representing the available Nylas API regions. """

Environment = Literal["production", "staging"]
Environment = Literal["production", "staging", "development", "sandbox"]
""" Literal representing the different Nylas API environments. """


Expand Down
2 changes: 1 addition & 1 deletion nylas/models/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Message:
"to": NotRequired[List[str]],
"cc": NotRequired[List[str]],
"bcc": NotRequired[List[str]],
"in": NotRequired[List[str]],
"in": NotRequired[str],
"unread": NotRequired[bool],
"starred": NotRequired[bool],
"thread_id": NotRequired[str],
Expand Down
Loading