-
Notifications
You must be signed in to change notification settings - Fork 5
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
Reapply hotfix 'invalid tariff' #476
Conversation
Warning Rate limit exceeded@DCSBL has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 2 minutes and 24 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (3)
WalkthroughThis pull request introduces a new validation mechanism for the Changes
Sequence DiagramsequenceDiagram
participant Deserializer
participant Measurement
Deserializer->>Measurement: Deserialize with tariff value
Measurement->>Measurement: __post_deserialize__() method called
alt Invalid Tariff
Measurement-->>Measurement: Set tariff to None
else Valid Tariff
Measurement-->>Measurement: Keep original tariff value
end
Deserializer->>Deserializer: Continue processing
Possibly related PRs
🪧 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
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #476 +/- ##
===========================================
- Coverage 100.00% 99.62% -0.38%
===========================================
Files 8 8
Lines 526 539 +13
Branches 37 40 +3
===========================================
+ Hits 526 537 +11
- Misses 0 1 +1
- Partials 0 1 +1 ☔ View full report in Codecov by Sentry. |
Tariff may be a other value than 1,2,3 or 4. Any other value is invalid and will be ignored.
Summary by CodeRabbit
New Features
None
when an invalid value is detectedTests