uranusjr commented on a change in pull request #20241:
URL: https://github.com/apache/airflow/pull/20241#discussion_r767525188
##########
File path: airflow/providers/ssh/operators/ssh.py
##########
@@ -206,7 +206,7 @@ def run_ssh_client_command(self, ssh_client: SSHClient,
command: str) -> bytes:
return agg_stdout
def execute(self, context=None) -> Union[bytes, str]:
- result = None
+ result: Optional[Union[bytes, str]] = None
Review comment:
I think you can simply delete this line.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]