-
Notifications
You must be signed in to change notification settings - Fork 0
更新 currency.py #82
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
更新 currency.py #82
Conversation
审阅者指南此 PR 通过从 get_currency 中移除 singledispatch 装饰器来重构 CurrencyRepository,以实现更直接的实现,并将软件包版本更新到 0.1.6.post1。 更新后的 CurrencyRepository 类图classDiagram
class CurrencyRepository {
+AsyncSession session
+__init__(session: AsyncSession)
+get_currency(currency_id: str) CurrencyMeta | None
}
文件级别更改
提示和命令与 Sourcery 交互
自定义您的体验访问您的仪表盘以:
获取帮助Original review guide in EnglishReviewer's GuideThis PR refactors CurrencyRepository by removing the singledispatch decorator from get_currency for a more straightforward implementation and updates the package version to 0.1.6.post1. Class diagram for updated CurrencyRepositoryclassDiagram
class CurrencyRepository {
+AsyncSession session
+__init__(session: AsyncSession)
+get_currency(currency_id: str) CurrencyMeta | None
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@sourcery-ai review |
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.
嘿 @JohnRichard4096 - 我已经审阅了你的修改,它们看起来很棒!
帮助我变得更有用!请在每条评论上点击 👍 或 👎,我将利用这些反馈来改进你的评论。
Original comment in English
Hey @JohnRichard4096 - I've reviewed your changes and they look great!
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
@sourcery-ai guide |
Sourcery 总结
改进:
Original summary in English
Sourcery 总结
通过移除 singledispatch 装饰器简化货币获取,并更新包版本
增强:
构建:
Original summary in English
Summary by Sourcery
Simplify currency retrieval by removing singledispatch decorator and update package version
Enhancements:
Build:
@sourcery-ai summary