-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "Last day of the month" schedules in dagster (#25169)
## Summary & Motivation The is_numeric check here was incorrectly assumimg that if it wasn't "*", it would be a number (and also assuming that it would still be a string even if it was numeric, which was more harmless). But you can have "L" in a cronstring to indicate the last day of the month. ## How I Tested These Changes BK, load UI with one of these schedules and turn it on ## Changelog - [x] `BUGFIX` Fixed an issue where schedules with "L" in the cronstring (to indicate the last day of the month) would raise an error in the Dagster UI.
- Loading branch information
Showing
2 changed files
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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