diff --git a/superset/models/core.py b/superset/models/core.py index fdeea6b143c1f..e067da4c2d115 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('{name}'.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