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 2018/08/01 00:54:25 UTC

[GitHub] graceguo-supercat commented on a change in pull request #5515: convert position to v2 for Superset load_examples

graceguo-supercat commented on a change in pull request #5515: convert position to v2 for Superset load_examples
URL: https://github.com/apache/incubator-superset/pull/5515#discussion_r206714308
 
 

 ##########
 File path: superset/data/__init__.py
 ##########
 @@ -33,7 +33,17 @@
 
 DATA_FOLDER = os.path.join(config.get("BASE_DIR"), 'data')
 
-misc_dash_slices = []  # slices assembled in a "Misc Chart" dashboard
+misc_dash_slices = set()  # slices assembled in a "Misc Chart" dashboard
 
 Review comment:
   in `load_multi_line`, some slices are loaded twice. I have to use Set to store misc_dash's slices name, otherwise same slices are added into list twice.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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