You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/12/10 15:52:40 UTC

[GitHub] [incubator-superset] dpgaspar commented on a change in pull request #11418: feat: Getting since and until tuple from calendar grains

dpgaspar commented on a change in pull request #11418:
URL: https://github.com/apache/incubator-superset/pull/11418#discussion_r540281359



##########
File path: superset/charts/api.py
##########
@@ -894,3 +900,19 @@ def import_(self) -> Response:
         except Exception as exc:  # pylint: disable=broad-except
             logger.exception("Import chart failed")
             return self.response_500(message=str(exc))
+
+    @expose("/time_range/", methods=["GET"])
+    @safe
+    @rison(get_time_range_schema)

Review comment:
       it would be great to add an OpenAPI spec here, feel free to ping me if you need any help with it




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org