dpgaspar commented on a change in pull request #9416: [mypy] Enforcing typing
for some modules
URL:
https://github.com/apache/incubator-superset/pull/9416#discussion_r399855351
##########
File path: superset/commands/base.py
##########
@@ -23,7 +24,7 @@ class BaseCommand(ABC):
"""
@abstractmethod
- def run(self):
+ def run(self) -> Any:
Review comment:
What do you think about setting this to `Union[None, Model]`, will mypy
complain?
----------------------------------------------------------------
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]