You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/04/02 12:20:38 UTC

[GitHub] [incubator-superset] villebro commented on a change in pull request #9418: [mypy] Enforcing typing for superset.dashboards

villebro commented on a change in pull request #9418: [mypy] Enforcing typing for superset.dashboards
URL: https://github.com/apache/incubator-superset/pull/9418#discussion_r402258288
 
 

 ##########
 File path: superset/charts/commands/delete.py
 ##########
 @@ -39,7 +39,7 @@ class DeleteChartCommand(BaseCommand):
     def __init__(self, user: User, model_id: int):
         self._actor = user
         self._model_id = model_id
-        self._model: Optional[SqlaTable] = None
+        self._model: Optional[Slice] = None
 
 Review comment:
   Whoa

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org