fix(python-sdk): rename Suibets to SuiBets for cross-SDK consistency#774
Open
PrettyFox0 wants to merge 1 commit into
Open
fix(python-sdk): rename Suibets to SuiBets for cross-SDK consistency#774PrettyFox0 wants to merge 1 commit into
PrettyFox0 wants to merge 1 commit into
Conversation
Closes pmxt-dev#773 The TypeScript SDK and core engine both use 'SuiBets' as the canonical class name. The Python SDK was the only place still using the lowercase-b 'Suibets', breaking exchange-agnostic naming consistency. - Rename class to SuiBets in _exchanges.py - Update __init__.py export and __all__ - Keep a 'Suibets = SuiBets' deprecation alias so existing callers don't break
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.
Closes #773
Summary
The TypeScript SDK and core engine both use
SuiBetsas the canonical class name. The Python SDK was the odd one out with the lowercase-bSuibets, breaking exchange-agnostic naming consistency across SDKs.Changes
sdks/python/pmxt/_exchanges.py: rename classSuibets→SuiBets; keepSuibets = SuiBetsdeprecation alias so existing callers don't break.sdks/python/pmxt/__init__.py: import and export both names; markSuibetsin__all__as deprecated alias.The
exchange_name="suibets"registration string is unchanged (matches the issue's "registered identifier" note).Test plan