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/11/24 05:02:07 UTC

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

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



##########
File path: superset/utils/core.py
##########
@@ -1358,9 +1358,9 @@ def get_since_until(
                 # default matched case
                 since_and_until.append(f"DATETIME('{part}')")
 
-        logger.debug(f"Raw [time_range] text: {time_range}")
-        logger.debug(f"[since] datetime_eval text: {since_and_until[0]}")
-        logger.debug(f"[until] datetime_eval text: {since_and_until[1]}")
+        logger.debug("Raw [time_range] text: %s", time_range)
+        logger.debug("[since] datetime_eval text: %s", since_and_until[0])
+        logger.debug("[until] datetime_eval text: %s", since_and_until[1])

Review comment:
       Was this changed intentional? We've been using the `f` string in many places, so I'm pretty sure it is fine to use.




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