[AIRFLOW-6402] fix ssh_operator default value#7008
[AIRFLOW-6402] fix ssh_operator default value#7008ohadmata wants to merge 2 commits intoapache:v1-10-stablefrom ohadmata:ohadmata-ssh_operator_fix
Conversation
blank line contains whitespace
|
Can you also add a test for it so this can be avoided in future, please? Test for this operator are at: https://github.com/apache/airflow/blob/master/tests/contrib/operators/test_ssh_operator.py |
|
this operator raises exception if no command is provided: airflow/airflow/contrib/operators/ssh_operator.py Lines 108 to 109 in 4984578 does it make sense to just pass empty string seems like it would make sense to make |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Yes, I don't see why someone would use SSHOperator without a "command". |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Should this TASK work now?: |
[AIRFLOW-6402] https://issues.apache.org/jira/browse/AIRFLOW-6402
Fix for ssh operator default value.
Right now I am getting Nonetype Exception (1.10.7)