shahar1 commented on code in PR #40924:
URL: https://github.com/apache/airflow/pull/40924#discussion_r1686848992
##########
airflow/sensors/base.py:
##########
@@ -114,15 +118,27 @@ def _orig_start_date(
)
+class SkipPolicy(str, enum.Enum):
+ """Action to TODO."""
+
+ NONE = "none"
+
+ # If poke method raises an exception, sensor will be skipped.
+ SKIP_ON_ANY_ERROR = "skip_on_any_error"
+
+ SKIP_ONLY_SOFT_ERROR = "skip_only_soft_error"
Review Comment:
Namings might need some minor improvements, for example:
```suggestion
SKIP_ON_SOFT_ERROR = "skip_on_soft_error"
```
--
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]