Describe the bug
The value in result_state which indicates the outcome of the task run is only available when the task actually finished. Otherwise the API does not return the key at all. That means that if the task state is poked before that, the sensor crashes.
To Reproduce
Steps to reproduce the behavior:
Poke any run where the task is not yet started (grey color in the UI)
Expected behavior
The sensor keeps poking till the expected state or timeout is reached.
Cloud Information
[x] AWS
[x] Azure
[x] GCP
[x] Other
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug The value in result_state which indicates the outcome of the task run is only available when the task actually finished. Otherwise the API does not return the key at all. That means that if the task state is poked before that, the sensor crashes.
To Reproduce Steps to reproduce the behavior:
Expected behavior The sensor keeps poking till the expected state or timeout is reached.
Cloud Information
Desktop (please complete the following information):
Additional context Add any other context about the problem here.