FrancescoCastaldi commented on code in PR #43585:
URL: https://github.com/apache/superset/pull/43585#discussion_r3890393598


##########
superset/charts/schemas.py:
##########
@@ -757,7 +758,7 @@ class 
ChartDataProphetOptionsSchema(ChartDataPostProcessingOperationOptionsSchem
             "[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) 
durations.",
             "example": "P1D",
         },
-        validate=validate.OneOf(choices=get_time_grain_choices()),
+        validate=validate.OneOf(choices=tuple(PROPHET_TIME_GRAIN_MAP.keys())),

Review Comment:
   Acknowledged and updated. The import ordering issue highlighted by @rusackas 
has also been fixed in the latest push.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to