mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
[slice] Removing deprecated argument (#3838)
This commit is contained in:
parent
a3a4687ebf
commit
d908e48d61
@ -229,12 +229,9 @@ class Slice(Model, AuditMixinNullable, ImportMixin):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user