This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SshSensorOperator(SSHExecuteOperator, BaseSensorOperator): | |
""" | |
Wait for some ssh command to succeed. | |
""" | |
count = 0 | |
def poke(self, context): | |
""" | |
Function that checks for ssh command. | |
""" |