john-bodley commented on a change in pull request #9416: [mypy] Enforcing 
typing for some modules
URL: 
https://github.com/apache/incubator-superset/pull/9416#discussion_r399860028
 
 

 ##########
 File path: superset/commands/base.py
 ##########
 @@ -23,7 +24,7 @@ class BaseCommand(ABC):
     """
 
     @abstractmethod
-    def run(self):
+    def run(self) -> Any:
 
 Review comment:
   @dpgaspar `Union[None, Model]` is equivalent to `Optional[Model]`. I've made 
the change.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to