mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
@@ -120,7 +120,7 @@ def prophet( # pylint: disable=too-many-arguments
|
||||
)
|
||||
)
|
||||
freq = PROPHET_TIME_GRAIN_MAP[time_grain]
|
||||
# check type at runtime due to marhsmallow schema not being able to handle
|
||||
# check type at runtime due to marshmallow schema not being able to handle
|
||||
# union types
|
||||
if not isinstance(periods, int) or periods < 0:
|
||||
raise InvalidPostProcessingError(_("Periods must be a whole number"))
|
||||
|
||||
Reference in New Issue
Block a user