superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: [slice] Removing deprecated argument (#3838)
Date Sun, 12 Nov 2017 05:44:26 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new d908e48  [slice] Removing deprecated argument (#3838)
d908e48 is described below

commit d908e48d61200cbacadbb0dcf8a8e50c309f8c10
Author: John Bodley <4567245+john-bodley@users.noreply.github.com>
AuthorDate: Sat Nov 11 21:44:24 2017 -0800

    [slice] Removing deprecated argument (#3838)
---
 superset/models/core.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/superset/models/core.py b/superset/models/core.py
index fdeea6b..e067da4 100644
--- a/superset/models/core.py
+++ b/superset/models/core.py
@@ -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

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message