dpgaspar commented on a change in pull request #9418: [mypy] Enforcing typing
for superset.dashboards
URL:
https://github.com/apache/incubator-superset/pull/9418#discussion_r404452034
##########
File path: superset/commands/base.py
##########
@@ -26,7 +24,7 @@ class BaseCommand(ABC):
"""
@abstractmethod
- def run(self) -> Optional[Model]:
+ def run(self) -> Any:
Review comment:
@john-bodley I'm setting base has Any, a bit wide, another option could be
maintaining `Optional[Model]`
----------------------------------------------------------------
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]