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 2019/11/12 05:03:48 UTC

[GitHub] [incubator-superset] DiggidyDave commented on a change in pull request #8529: Encode feature flags to JSON pessimistically

DiggidyDave commented on a change in pull request #8529: Encode feature flags to JSON pessimistically
URL: https://github.com/apache/incubator-superset/pull/8529#discussion_r345018580
 
 

 ##########
 File path: superset/views/core.py
 ##########
 @@ -3001,7 +3003,7 @@ def sqllab(self):
         return self.render_template(
             "superset/basic.html",
             entry="sqllab",
-            bootstrap_data=json.dumps(d, default=utils.json_iso_dttm_ser),
+            bootstrap_data=json.dumps(d, default=utils.pessimistic_json_iso_dttm_ser),
 
 Review comment:
   Feels weird to be passing variant/loosely-typed data to this but I guess Superset does that a lot so I won't complain much other than to point it out. :-)

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


With regards,
Apache Git Services

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