Skip to content

Commit

Permalink
[slice] Removing deprecated argument
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bodley committed Nov 12, 2017
1 parent 4d48d5d commit de96df0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions superset/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de96df0

Please sign in to comment.