You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2017/11/12 05:44:27 UTC
[GitHub] mistercrunch closed pull request #3838: [slice] Removing unused legacy argument
mistercrunch closed pull request #3838: [slice] Removing unused legacy argument
URL: https://github.com/apache/incubator-superset/pull/3838
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/superset/models/core.py b/superset/models/core.py
index fdeea6b143..e067da4c2d 100644
--- a/superset/models/core.py
+++ b/superset/models/core.py
@@ -229,12 +229,9 @@ def slice_link(self):
name = escape(self.slice_name)
return Markup('<a href="{url}">{name}</a>'.format(**locals()))
- def get_viz(self, url_params_multidict=None):
+ def get_viz(self):
"""Creates :py:class:viz.BaseViz object from the url_params_multidict.
- :param werkzeug.datastructures.MultiDict url_params_multidict:
- Contains the visualization params, they override the self.params
- stored in the database
:return: object of the 'viz_type' type that is taken from the
url_params_multidict or self.params.
:rtype: :py:class:viz.BaseViz
----------------------------------------------------------------
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