fix: add end_slash parameter to ResourceCollection.make_path() (#31) and devcontainer sync#33
Merged
Merged
Conversation
…olve issue #31 Fixes #31 - ResourceCollection.make_path() incorrectly adds trailing slash to terminal endpoints Changes: - Add end_slash parameter to ResourceCollection.make_path() (defaults to True for backward compatibility) - Update action endpoints to use end_slash=False to prevent trailing slashes on terminal endpoints - Bump version to 0.1.61 Action endpoints updated: - sessions.py: authorization_code, sweep - clients.py: revoke, grant (in ClientAccess) - users.py: activate - submissions.py: submit - timetable.py: current, next This resolves 405 Method Not Allowed errors when servers use strict_slashes=True. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
end_slashparameter toResourceCollection.make_path()to resolve issue ResourceCollection.make_path() incorrectly adds trailing slash to terminal endpoints #31Changes
Bug Fix (#31)
end_slashparameter toResourceCollection.make_path()methodcampus_python/api/v1/submissions.pycampus_python/api/v1/timetable.pycampus_python/auth/v1/clients.pycampus_python/auth/v1/sessions.pycampus_python/auth/v1/users.pyDevContainer
post-create.shintoDockerfileTest plan
end_slashvalues