-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update version to 2.1.2 and add new attributes in wallet data classes #23
Conversation
Walkthrough此次更新涉及项目“mhyy.py”的 Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (2)
- pyproject.toml (1 hunks)
- src/mhyy/_wallet.py (2 hunks)
Files skipped from review due to trivial changes (1)
- pyproject.toml
Additional comments not posted (1)
src/mhyy/_wallet.py (1)
94-102
: LGTM!新增的
total_time
属性增强了WalletData
类,为钱包数据添加了总时长信息。这个属性可以用于跟踪和管理用户的总使用时间。使用
int
类型来表示时间段是合适的,因为它允许进行简单的算术运算和比较。
Summary by CodeRabbit
PlayCardData
类中新增remaining_sec
属性。WalletData
类中新增total_time
属性。