Rename upgrade_subscription to change_repository_plan API#67
Merged
Conversation
…equest.py documentation for clarity
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
Refactors the subscription API by renaming
upgrade_subscription.pytochange_repository_plan.py, providing a more accurate and flexible API endpoint name that better reflects its purpose. The module has been significantly enhanced with improved logic and documentation.Key Accomplishments
upgrade_subscriptiontochange_repository_planto better convey the endpoint's capability of handling repository-level plan changes (not just upgrades)upgrade_subscription_request.pyfor improved clarity and consistency with the new naming conventionBreaking Changes
robosystems_client.api.subscriptions.upgrade_subscriptionhas been removed and replaced withrobosystems_client.api.subscriptions.change_repository_planupgrade_subscriptionmodule will need to be updated to usechange_repository_planUpgradeSubscriptionRequestmodel remains in place but its documentation has been updatedTesting Notes
UpgradeSubscriptionRequest) serializes and deserializes correctly with the renamed endpointupgrade_subscriptionmodule exist in dependent services or integration testsInfrastructure Considerations
🤖 Generated with Claude Code
Branch Info:
feature/repo-sub-changemainCo-Authored-By: Claude noreply@anthropic.com