Support callback URIs in application updates#476
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Follow-up to the review feedback on nylas-java#327.
PATCH /v3/applicationsacceptscallback_uris, and callers need to include an existing callback URIidwhen preserving or updating entries. The Python SDK typed request model did not expose that shape.Summary
UpdateApplicationRedirectUriRequestwith optionalid,platform, andsettings.callback_uristoUpdateApplicationRequestand remove stale docs saying callback URIs are ignored.callback_urisentry with an existingidin the application update test.invalid_alsoworkspace auto-group support.Testing
.venv/bin/black --check nylas/models/application_details.py nylas/resources/applications.py tests/resources/test_applications.py.venv/bin/python -m pytest tests/resources/test_applications.py -q