villebro commented on a change in pull request #13983:
URL: https://github.com/apache/superset/pull/13983#discussion_r613847819



##########
File path: superset/utils/core.py
##########
@@ -1061,39 +1066,36 @@ def merge_extra_form_data(form_data: Dict[str, Any]) -> 
None:
     Merge extra form data (appends and overrides) into the main payload
     and add applied time extras to the payload.
     """
-    time_extras = {
-        "granularity": "__granularity",
-        "granularity_sqla": "__granularity",
-        "time_range": "__time_range",
-    }
-    allowed_extra_overrides: Dict[str, Optional[str]] = {
-        "time_grain_sqla": "__time_grain",
-        "druid_time_origin": "__time_origin",
-        "time_range_endpoints": None,
-    }
-
-    applied_time_extras = form_data.get("applied_time_extras", {})
-    form_data["applied_time_extras"] = applied_time_extras

Review comment:
       `applied_time_extras` are no longer needed here




-- 
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.

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