-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
fix(chart): non existent time grain no longer breaks the application #23441
fix(chart): non existent time grain no longer breaks the application #23441
Conversation
Codecov Report
@@ Coverage Diff @@
## master #23441 +/- ##
==========================================
+ Coverage 65.76% 66.00% +0.23%
==========================================
Files 1908 1908
Lines 73726 73726
Branches 7989 7989
==========================================
+ Hits 48489 48662 +173
+ Misses 23189 23016 -173
Partials 2048 2048
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 14 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Thanks for the fix! A few minor comments, other than that LGTM
@@ -332,11 +332,12 @@ def is_readonly(sql: str) -> bool: | |||
|
|||
def test_time_grain_denylist(): | |||
config = app.config.copy() | |||
app.config["TIME_GRAIN_DENYLIST"] = ["PT1M"] | |||
app.config["TIME_GRAIN_DENYLIST"] = ["PT1M", "SQLITE_INEXISTING_GRAIN"] |
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.
spelling nit, do you think SQLITE_NONEXISTENT_GRAIN
could work?
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Thanks @villebro. I'm good with those suggestions. They have been checked in. |
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.
LGTM, thanks for this fix!
…pache#23441) Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> (cherry picked from commit 07a6328)
SUMMARY
The description of the issue can be found here: #23440
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Skipped
TESTING INSTRUCTIONS
Please read the Expected/Actual result here.
ADDITIONAL INFORMATION